#27022E#27022E

#27022E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.090 H 320.9°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#27022E
RGBrgb(39, 2, 46)
HSLhsl(290, 92%, 9%)
HSVhsv(290, 96%, 18%)
CMYKcmyk(15.2%, 95.7%, 0%, 82%)
CIE-LABlab(6.07, 26.00, -19.85)
CIE-LCHlch(6.07, 32.71, 322.63°)
OKLaboklab(20.07% 0.0696 -0.0566)
OKLCHoklch(20.07% 0.09 320.9)
XYZxyz(1.3515, 0.6721, 2.6428)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27022E #092E02
analogous
#11022E #27022E #2E021F
triadic
#27022E #2E2702 #022E27
tetradic
#27022E #2E1102 #092E02 #021F2E
square
#27022E #2E1102 #092E02 #021F2E
split-complementary
#27022E #1F2E02 #022E11
monochromatic
#19011D #19011D #27022E #590569 #8A07A3

Accessibility & contrast

On white

18.51
#27022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#27022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27022E
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27022E#FFFFFF#000000##FFFFFF
##27022E1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#270A17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27022e;
/* rgb */ color: rgb(39, 2, 46);
/* oklch */ color: oklch(20.1% 0.090 320.9);
Tailwind
colors: {
  custom: {
    50: '#634767',
    500: '#27022e',
    950: '#000000',
  },
}
SCSS
$custom: #27022e;
$custom-light: #634767;
$custom-dark: #000000;
JSON
{
  "hex": "#27022e",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 290.455,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20074,
    "c": 0.08975,
    "h": 320.9
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#27022E
secondary
#277319
accent
#FF294B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27022E

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

Preview Lab → · Contrast checker → · Palette generator →

#27022E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva