#27062B#27062B

#27062B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.078 H 323.3°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#27062B
RGBrgb(39, 6, 43)
HSLhsl(294, 76%, 10%)
HSVhsv(294, 86%, 17%)
CMYKcmyk(9.3%, 86%, 0%, 83.1%)
CIE-LABlab(6.65, 23.10, -16.69)
CIE-LCHlch(6.65, 28.49, 324.15°)
OKLaboklab(20.47% 0.0629 -0.0469)
OKLCHoklch(20.47% 0.078 323.3)
XYZxyz(1.3378, 0.7361, 2.3566)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27062B #0A2B06
analogous
#15062B #27062B #2B061D
triadic
#27062B #2B2706 #062B27
tetradic
#27062B #2B1506 #0A2B06 #061D2B
square
#27062B #2B1506 #0A2B06 #061D2B
split-complementary
#27062B #1D2B06 #062B15
monochromatic
#18041B #18041B #27062B #580D61 #881596

Accessibility & contrast

On white

18.31
#27062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#27062B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27062B
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27062B#FFFFFF#000000##FFFFFF
##27062B1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#0C162A
Tritanopia (blue-blind)
#280C17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #27062b;
/* rgb */ color: rgb(39, 6, 43);
/* oklch */ color: oklch(20.5% 0.078 323.3);
Tailwind
colors: {
  custom: {
    50: '#634964',
    500: '#27062b',
    950: '#000000',
  },
}
SCSS
$custom: #27062b;
$custom-light: #634964;
$custom-dark: #000000;
JSON
{
  "hex": "#27062b",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 293.514,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20475,
    "c": 0.07849,
    "h": 323.3
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#27062B
secondary
#296C21
accent
#F2364A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050105
muted
#7A777A

Preview Lab

Preview with #27062B

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

Preview Lab → · Contrast checker → · Palette generator →

#27062B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva