#270225#270225

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

Color values

HEX#270225
RGBrgb(39, 2, 37)
HSLhsl(303, 90%, 8%)
HSVhsv(303, 95%, 15%)
CMYKcmyk(0%, 94.9%, 5.1%, 84.7%)
CIE-LABlab(5.50, 23.52, -13.93)
CIE-LCHlch(5.50, 27.34, 329.37°)
OKLaboklab(19.34% 0.0708 -0.04)
OKLCHoklch(19.34% 0.081 330.5)
XYZxyz(1.1923, 0.6084, 1.8045)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270225 #022704
analogous
#160227 #270225 #270212
triadic
#270225 #252702 #022527
tetradic
#270225 #271602 #022704 #021227
square
#270225 #271602 #022704 #021227
split-complementary
#270225 #122702 #022716
monochromatic
#1D011C #1D011C #270225 #61055C #9B0893

Accessibility & contrast

On white

18.72
#270225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270225
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270225#FFFFFF#000000##FFFFFF
##2702251.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F26
Deuteranopia (green-blind)
#0C1424
Tritanopia (blue-blind)
#290612
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270225;
/* rgb */ color: rgb(39, 2, 37);
/* oklch */ color: oklch(19.3% 0.081 330.5);
Tailwind
colors: {
  custom: {
    50: '#63475f',
    500: '#270225',
    950: '#000000',
  },
}
SCSS
$custom: #270225;
$custom-light: #63475f;
$custom-dark: #000000;
JSON
{
  "hex": "#270225",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 303.243,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19343,
    "c": 0.0813,
    "h": 330.5
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#270225
secondary
#186C1D
accent
#FF3429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #270225

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

Preview Lab → · Contrast checker → · Palette generator →

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