#27062A#27062A

#27062A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.077 H 324.4°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#27062A
RGBrgb(39, 6, 42)
HSLhsl(295, 75%, 9%)
HSVhsv(295, 86%, 16%)
CMYKcmyk(7.1%, 85.7%, 0%, 83.5%)
CIE-LABlab(6.58, 22.83, -16.04)
CIE-LCHlch(6.58, 27.90, 324.92°)
OKLaboklab(20.4% 0.0629 -0.0451)
OKLCHoklch(20.4% 0.077 324.4)
XYZxyz(1.3197, 0.7288, 2.2612)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27062A #092A06
analogous
#15062A #27062A #2A061B
triadic
#27062A #2A2706 #062A27
tetradic
#27062A #2A1506 #092A06 #061B2A
square
#27062A #2A1506 #092A06 #061B2A
split-complementary
#27062A #1B2A06 #062A15
monochromatic
#19041B #19041B #27062A #590E60 #8A1595

Accessibility & contrast

On white

18.33
#27062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27062A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27062A#FFFFFF#000000##FFFFFF
##27062A1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#0C1629
Tritanopia (blue-blind)
#280C17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #27062a;
/* rgb */ color: rgb(39, 6, 42);
/* oklch */ color: oklch(20.4% 0.077 324.4);
Tailwind
colors: {
  custom: {
    50: '#634963',
    500: '#27062a',
    950: '#000000',
  },
}
SCSS
$custom: #27062a;
$custom-light: #634963;
$custom-dark: #000000;
JSON
{
  "hex": "#27062a",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 295,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20398,
    "c": 0.07742,
    "h": 324.4
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#27062A
secondary
#276B21
accent
#F23646
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #27062A

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

Preview Lab → · Contrast checker → · Palette generator →

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