#27062F#27062F

#27062F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.083 H 319.1°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#27062F
RGBrgb(39, 6, 47)
HSLhsl(288, 77%, 10%)
HSVhsv(288, 87%, 18%)
CMYKcmyk(17%, 87.2%, 0%, 81.6%)
CIE-LABlab(6.93, 24.17, -19.24)
CIE-LCHlch(6.93, 30.89, 321.48°)
OKLaboklab(20.8% 0.0626 -0.0542)
OKLCHoklch(20.8% 0.083 319.1)
XYZxyz(1.4148, 0.7669, 2.7623)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27062F #0E2F06
analogous
#12062F #27062F #2F0622
triadic
#27062F #2F2706 #062F27
tetradic
#27062F #2F1206 #0E2F06 #06222F
square
#27062F #2F1206 #0E2F06 #06222F
split-complementary
#27062F #222F06 #062F12
monochromatic
#17031B #17031B #27062F #540D65 #81149C

Accessibility & contrast

On white

18.21
#27062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27062F
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27062F#FFFFFF#000000##FFFFFF
##27062F1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#08162E
Tritanopia (blue-blind)
#270E19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #27062f;
/* rgb */ color: rgb(39, 6, 47);
/* oklch */ color: oklch(20.8% 0.083 319.1);
Tailwind
colors: {
  custom: {
    50: '#634968',
    500: '#27062f',
    950: '#000000',
  },
}
SCSS
$custom: #27062f;
$custom-light: #634968;
$custom-dark: #000000;
JSON
{
  "hex": "#27062f",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 288.293,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20796,
    "c": 0.08282,
    "h": 319.1
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#27062F
secondary
#307021
accent
#F43459
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #27062F

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

Preview Lab → · Contrast checker → · Palette generator →

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