#27052A#27052A

#27052A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.079 H 324.5°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#27052A
RGBrgb(39, 5, 42)
HSLhsl(295, 79%, 9%)
HSVhsv(295, 88%, 16%)
CMYKcmyk(7.1%, 88.1%, 0%, 83.5%)
CIE-LABlab(6.39, 23.35, -16.35)
CIE-LCHlch(6.39, 28.50, 325.01°)
OKLaboklab(20.24% 0.0647 -0.0461)
OKLCHoklch(20.24% 0.079 324.5)
XYZxyz(1.3089, 0.7071, 2.2576)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27052A #082A05
analogous
#15052A #27052A #2A051B
triadic
#27052A #2A2705 #052A27
tetradic
#27052A #2A1505 #082A05 #051B2A
square
#27052A #2A1505 #082A05 #051B2A
split-complementary
#27052A #1B2A05 #052A15
monochromatic
#19031B #19031B #27052A #5A0C61 #8D1297

Accessibility & contrast

On white

18.40
#27052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27052A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27052A#FFFFFF#000000##FFFFFF
##27052A1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#0B1629
Tritanopia (blue-blind)
#280B16
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #27052a;
/* rgb */ color: rgb(39, 5, 42);
/* oklch */ color: oklch(20.2% 0.079 324.5);
Tailwind
colors: {
  custom: {
    50: '#634863',
    500: '#27052a',
    950: '#000000',
  },
}
SCSS
$custom: #27052a;
$custom-light: #634863;
$custom-dark: #000000;
JSON
{
  "hex": "#27052a",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 295.135,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20236,
    "c": 0.07946,
    "h": 324.5
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#27052A
secondary
#256C1F
accent
#F53342
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #27052A

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

Preview Lab → · Contrast checker → · Palette generator →

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