#221027#221027

#221027 is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.1% C 0.050 H 318.6°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#221027
RGBrgb(34, 16, 39)
HSLhsl(287, 42%, 11%)
HSVhsv(287, 59%, 15%)
CMYKcmyk(12.8%, 59%, 0%, 84.7%)
CIE-LABlab(7.74, 14.44, -12.02)
CIE-LCHlch(7.74, 18.79, 320.24°)
OKLaboklab(21.06% 0.0378 -0.0332)
OKLCHoklch(21.06% 0.05 318.6)
XYZxyz(1.2111, 0.8572, 2.0207)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221027 #152710
analogous
#161027 #221027 #271020
triadic
#221027 #272210 #102722
tetradic
#221027 #271610 #152710 #102027
square
#221027 #271610 #152710 #102027
split-complementary
#221027 #202710 #102716
monochromatic
#130916 #130916 #221027 #482252 #6E347E

Accessibility & contrast

On white

17.93
#221027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#221027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221027
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221027#FFFFFF#000000##FFFFFF
##2210271.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1628
Deuteranopia (green-blind)
#111826
Tritanopia (blue-blind)
#221319
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #221027;
/* rgb */ color: rgb(34, 16, 39);
/* oklch */ color: oklch(21.1% 0.050 318.6);
Tailwind
colors: {
  custom: {
    50: '#5e4e61',
    500: '#221027',
    950: '#000000',
  },
}
SCSS
$custom: #221027;
$custom-light: #5e4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#221027",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 286.957,
    "s": 41.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21061,
    "c": 0.0503,
    "h": 318.6
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#221027
secondary
#3D5F34
accent
#D25671
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #221027

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#221027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva