#270122#270122

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

Color values

HEX#270122
RGBrgb(39, 1, 34)
HSLhsl(308, 95%, 8%)
HSVhsv(308, 97%, 15%)
CMYKcmyk(0%, 97.4%, 12.8%, 84.7%)
CIE-LABlab(5.14, 23.22, -12.17)
CIE-LCHlch(5.14, 26.22, 332.35°)
OKLaboklab(18.94% 0.073 -0.0355)
OKLCHoklch(18.94% 0.081 334.1)
XYZxyz(1.1363, 0.5686, 1.5630)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270122 #012706
analogous
#190127 #270122 #27010F
triadic
#270122 #222701 #012227
tetradic
#270122 #271901 #012706 #010F27
square
#270122 #271901 #012706 #010F27
split-complementary
#270122 #0F2701 #012719
monochromatic
#1E011A #1E011A #270122 #630356 #9E048A

Accessibility & contrast

On white

18.85
#270122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270122
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270122#FFFFFF#000000##FFFFFF
##2701221.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D23
Deuteranopia (green-blind)
#0D1321
Tritanopia (blue-blind)
#290310
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270122;
/* rgb */ color: rgb(39, 1, 34);
/* oklch */ color: oklch(18.9% 0.081 334.1);
Tailwind
colors: {
  custom: {
    50: '#62465d',
    500: '#270122',
    950: '#000000',
  },
}
SCSS
$custom: #270122;
$custom-light: #62465d;
$custom-dark: #000000;
JSON
{
  "hex": "#270122",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 307.895,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18938,
    "c": 0.08116,
    "h": 334.1
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#270122
secondary
#166E22
accent
#FF4529
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #270122

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

Preview Lab → · Contrast checker → · Palette generator →

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