#27022A#27022A

#27022A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.086 H 324.9°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#27022A
RGBrgb(39, 2, 42)
HSLhsl(296, 91%, 9%)
HSVhsv(296, 95%, 16%)
CMYKcmyk(7.1%, 95.2%, 0%, 83.5%)
CIE-LABlab(5.80, 24.88, -17.27)
CIE-LCHlch(5.80, 30.29, 325.23°)
OKLaboklab(19.74% 0.0703 -0.0494)
OKLCHoklch(19.74% 0.086 324.9)
XYZxyz(1.2763, 0.6420, 2.2467)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27022A #052A02
analogous
#13022A #27022A #2A0219
triadic
#27022A #2A2702 #022A27
tetradic
#27022A #2A1302 #052A02 #02192A
square
#27022A #2A1302 #052A02 #02192A
split-complementary
#27022A #192A02 #022A13
monochromatic
#1B011D #1B011D #27022A #5D0564 #93089F

Accessibility & contrast

On white

18.61
#27022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27022A
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27022A#FFFFFF#000000##FFFFFF
##27022A1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#091429
Tritanopia (blue-blind)
#280815
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27022a;
/* rgb */ color: rgb(39, 2, 42);
/* oklch */ color: oklch(19.7% 0.086 324.9);
Tailwind
colors: {
  custom: {
    50: '#634763',
    500: '#27022a',
    950: '#000000',
  },
}
SCSS
$custom: #27022a;
$custom-light: #634763;
$custom-dark: #000000;
JSON
{
  "hex": "#27022a",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 295.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19736,
    "c": 0.08593,
    "h": 324.9
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#27022A
secondary
#1F6F19
accent
#FF2939
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #27022A

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

Preview Lab → · Contrast checker → · Palette generator →

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