#27052B#27052B

#27052B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.081 H 323.4°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#27052B
RGBrgb(39, 5, 43)
HSLhsl(294, 79%, 9%)
HSVhsv(294, 88%, 17%)
CMYKcmyk(9.3%, 88.4%, 0%, 83.1%)
CIE-LABlab(6.45, 23.62, -17.00)
CIE-LCHlch(6.45, 29.10, 324.26°)
OKLaboklab(20.32% 0.0647 -0.048)
OKLCHoklch(20.32% 0.081 323.4)
XYZxyz(1.3270, 0.7144, 2.3530)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27052B #092B05
analogous
#14052B #27052B #2B051C
triadic
#27052B #2B2705 #052B27
tetradic
#27052B #2B1405 #092B05 #051C2B
square
#27052B #2B1405 #092B05 #051C2B
split-complementary
#27052B #1C2B05 #052B14
monochromatic
#19031B #19031B #27052B #590B62 #8A1299

Accessibility & contrast

On white

18.38
#27052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#27052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27052B
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27052B#FFFFFF#000000##FFFFFF
##27052B1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#0B162A
Tritanopia (blue-blind)
#280B17
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #27052b;
/* rgb */ color: rgb(39, 5, 43);
/* oklch */ color: oklch(20.3% 0.081 323.4);
Tailwind
colors: {
  custom: {
    50: '#634864',
    500: '#27052b',
    950: '#000000',
  },
}
SCSS
$custom: #27052b;
$custom-light: #634864;
$custom-dark: #000000;
JSON
{
  "hex": "#27052b",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 293.684,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20315,
    "c": 0.0805,
    "h": 323.4
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#27052B
secondary
#276D1F
accent
#F63247
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050105
muted
#7A777A

Preview Lab

Preview with #27052B

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

Preview Lab → · Contrast checker → · Palette generator →

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