#27062E#27062E

#27062E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.082 H 320.1°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#27062E
RGBrgb(39, 6, 46)
HSLhsl(290, 77%, 10%)
HSVhsv(290, 87%, 18%)
CMYKcmyk(15.2%, 87%, 0%, 82%)
CIE-LABlab(6.86, 23.90, -18.61)
CIE-LCHlch(6.86, 30.29, 322.10°)
OKLaboklab(20.71% 0.0627 -0.0524)
OKLCHoklch(20.71% 0.082 320.1)
XYZxyz(1.3949, 0.7589, 2.6572)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27062E #0D2E06
analogous
#13062E #27062E #2E0621
triadic
#27062E #2E2706 #062E27
tetradic
#27062E #2E1306 #0D2E06 #06212E
square
#27062E #2E1306 #0D2E06 #06212E
split-complementary
#27062E #212E06 #062E13
monochromatic
#17041B #17041B #27062E #550D64 #83149A

Accessibility & contrast

On white

18.23
#27062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27062E
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27062E#FFFFFF#000000##FFFFFF
##27062E1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#09162D
Tritanopia (blue-blind)
#270D19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #27062e;
/* rgb */ color: rgb(39, 6, 46);
/* oklch */ color: oklch(20.7% 0.082 320.1);
Tailwind
colors: {
  custom: {
    50: '#634967',
    500: '#27062e',
    950: '#000000',
  },
}
SCSS
$custom: #27062e;
$custom-light: #634967;
$custom-dark: #000000;
JSON
{
  "hex": "#27062e",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 289.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20714,
    "c": 0.08172,
    "h": 320.1
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#27062E
secondary
#2F6F21
accent
#F33456
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #27062E

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

Preview Lab → · Contrast checker → · Palette generator →

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