#270024#270024

#270024 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.9% C 0.085 H 331.7°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#270024
RGBrgb(39, 0, 36)
HSLhsl(305, 100%, 8%)
HSVhsv(305, 100%, 15%)
CMYKcmyk(0%, 100%, 7.7%, 84.7%)
CIE-LABlab(5.05, 24.23, -13.85)
CIE-LCHlch(5.05, 27.91, 330.25°)
OKLaboklab(18.9% 0.0752 -0.0405)
OKLCHoklch(18.9% 0.085 331.7)
XYZxyz(1.1551, 0.5588, 1.7157)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270024 #002703
analogous
#160027 #270024 #270011
triadic
#270024 #242700 #002427
tetradic
#270024 #271600 #002703 #001127
square
#270024 #271600 #002703 #001127
split-complementary
#270024 #112700 #002716
monochromatic
#1F001C #1F001C #270024 #64005C #A10095

Accessibility & contrast

On white

18.89
#270024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#270024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270024
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270024#FFFFFF#000000##FFFFFF
##2700241.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D25
Deuteranopia (green-blind)
#0B1323
Tritanopia (blue-blind)
#290311
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270024;
/* rgb */ color: rgb(39, 0, 36);
/* oklch */ color: oklch(18.9% 0.085 331.7);
Tailwind
colors: {
  custom: {
    50: '#63465e',
    500: '#270024',
    950: '#000000',
  },
}
SCSS
$custom: #270024;
$custom-light: #63465e;
$custom-dark: #000000;
JSON
{
  "hex": "#270024",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 304.615,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.189,
    "c": 0.08542,
    "h": 331.7
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#270024
secondary
#146F1B
accent
#FF3929
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050004
muted
#7A7679

Preview Lab

Preview with #270024

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

Preview Lab → · Contrast checker → · Palette generator →

#270024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva