#270022#270022

#270022 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.7% C 0.084 H 334.0°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#270022
RGBrgb(39, 0, 34)
HSLhsl(308, 100%, 8%)
HSVhsv(308, 100%, 15%)
CMYKcmyk(0%, 100%, 12.8%, 84.7%)
CIE-LABlab(4.94, 23.70, -12.47)
CIE-LCHlch(4.94, 26.78, 332.26°)
OKLaboklab(18.75% 0.0753 -0.0367)
OKLCHoklch(18.75% 0.084 334)
XYZxyz(1.1254, 0.5469, 1.5594)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270022 #002705
analogous
#180027 #270022 #27000F
triadic
#270022 #222700 #002227
tetradic
#270022 #271800 #002705 #000F27
square
#270022 #271800 #002705 #000F27
split-complementary
#270022 #0F2700 #002718
monochromatic
#1F001B #1F001B #270022 #640057 #A1008D

Accessibility & contrast

On white

18.93
#270022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270022
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270022#FFFFFF#000000##FFFFFF
##2700221.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D23
Deuteranopia (green-blind)
#0C1321
Tritanopia (blue-blind)
#29030F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270022;
/* rgb */ color: rgb(39, 0, 34);
/* oklch */ color: oklch(18.7% 0.084 334.0);
Tailwind
colors: {
  custom: {
    50: '#62465d',
    500: '#270022',
    950: '#000000',
  },
}
SCSS
$custom: #270022;
$custom-light: #62465d;
$custom-dark: #000000;
JSON
{
  "hex": "#270022",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 34
  },
  "hsl": {
    "h": 307.692,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18749,
    "c": 0.08377,
    "h": 334
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#270022
secondary
#146F1F
accent
#FF4429
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050004
muted
#7A7679

Preview Lab

Preview with #270022

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

Preview Lab → · Contrast checker → · Palette generator →

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