#27052E#27052E

#27052E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.084 H 320.3°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#27052E
RGBrgb(39, 5, 46)
HSLhsl(290, 80%, 10%)
HSVhsv(290, 89%, 18%)
CMYKcmyk(15.2%, 89.1%, 0%, 82%)
CIE-LABlab(6.66, 24.43, -18.92)
CIE-LCHlch(6.66, 30.90, 322.25°)
OKLaboklab(20.56% 0.0644 -0.0534)
OKLCHoklch(20.56% 0.084 320.3)
XYZxyz(1.3841, 0.7372, 2.6536)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27052E #0C2E05
analogous
#12052E #27052E #2E0521
triadic
#27052E #2E2705 #052E27
tetradic
#27052E #2E1205 #0C2E05 #05212E
square
#27052E #2E1205 #0C2E05 #05212E
split-complementary
#27052E #212E05 #052E12
monochromatic
#17031C #17031C #27052E #560B65 #85119C

Accessibility & contrast

On white

18.30
#27052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27052E
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27052E#FFFFFF#000000##FFFFFF
##27052E1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27052e;
/* rgb */ color: rgb(39, 5, 46);
/* oklch */ color: oklch(20.6% 0.084 320.3);
Tailwind
colors: {
  custom: {
    50: '#634967',
    500: '#27052e',
    950: '#000000',
  },
}
SCSS
$custom: #27052e;
$custom-light: #634967;
$custom-dark: #000000;
JSON
{
  "hex": "#27052e",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 289.756,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20558,
    "c": 0.08365,
    "h": 320.3
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#27052E
secondary
#2D701F
accent
#F73153
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #27052E

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

Preview Lab → · Contrast checker → · Palette generator →

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