#270124#270124

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

Color values

HEX#270124
RGBrgb(39, 1, 36)
HSLhsl(305, 95%, 8%)
HSVhsv(305, 97%, 15%)
CMYKcmyk(0%, 97.4%, 7.7%, 84.7%)
CIE-LABlab(5.24, 23.75, -13.55)
CIE-LCHlch(5.24, 27.34, 330.29°)
OKLaboklab(19.09% 0.073 -0.0393)
OKLCHoklch(19.09% 0.083 331.7)
XYZxyz(1.1660, 0.5805, 1.7194)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270124 #012704
analogous
#170127 #270124 #270111
triadic
#270124 #242701 #012427
tetradic
#270124 #271701 #012704 #011127
square
#270124 #271701 #012704 #011127
split-complementary
#270124 #112701 #012717
monochromatic
#1E011C #1E011C #270124 #63035B #9E0492

Accessibility & contrast

On white

18.82
#270124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#270124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270124
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270124#FFFFFF#000000##FFFFFF
##2701241.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E25
Deuteranopia (green-blind)
#0C1323
Tritanopia (blue-blind)
#290411
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270124;
/* rgb */ color: rgb(39, 1, 36);
/* oklch */ color: oklch(19.1% 0.083 331.7);
Tailwind
colors: {
  custom: {
    50: '#63465e',
    500: '#270124',
    950: '#000000',
  },
}
SCSS
$custom: #270124;
$custom-light: #63465e;
$custom-dark: #000000;
JSON
{
  "hex": "#270124",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 304.737,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19086,
    "c": 0.08287,
    "h": 331.7
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#270124
secondary
#166E1D
accent
#FF3A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #270124

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

Preview Lab → · Contrast checker → · Palette generator →

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