#270223#270223

#270223 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.080 H 332.9°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#270223
RGBrgb(39, 2, 35)
HSLhsl(306, 90%, 8%)
HSVhsv(306, 95%, 15%)
CMYKcmyk(0%, 94.9%, 10.3%, 84.7%)
CIE-LABlab(5.39, 23.00, -12.56)
CIE-LCHlch(5.39, 26.20, 331.36°)
OKLaboklab(19.2% 0.0708 -0.0362)
OKLCHoklch(19.2% 0.08 332.9)
XYZxyz(1.1618, 0.5962, 1.6437)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270223 #022706
analogous
#180227 #270223 #270210
triadic
#270223 #232702 #022327
tetradic
#270223 #271802 #022706 #021027
square
#270223 #271802 #022706 #021027
split-complementary
#270223 #102702 #022718
monochromatic
#1D011A #1D011A #270223 #610557 #9B088B

Accessibility & contrast

On white

18.76
#270223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270223
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270223#FFFFFF#000000##FFFFFF
##2702231.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E24
Deuteranopia (green-blind)
#0D1422
Tritanopia (blue-blind)
#290511
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270223;
/* rgb */ color: rgb(39, 2, 35);
/* oklch */ color: oklch(19.2% 0.080 332.9);
Tailwind
colors: {
  custom: {
    50: '#62475e',
    500: '#270223',
    950: '#000000',
  },
}
SCSS
$custom: #270223;
$custom-light: #62475e;
$custom-dark: #000000;
JSON
{
  "hex": "#270223",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 306.486,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19195,
    "c": 0.07951,
    "h": 332.9
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#270223
secondary
#186C22
accent
#FF4029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #270223

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

Preview Lab → · Contrast checker → · Palette generator →

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