#270422#270422

#270422 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.074 H 334.3°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#270422
RGBrgb(39, 4, 34)
HSLhsl(309, 81%, 8%)
HSVhsv(309, 90%, 15%)
CMYKcmyk(0%, 89.7%, 12.8%, 84.7%)
CIE-LABlab(5.73, 21.77, -11.26)
CIE-LCHlch(5.73, 24.51, 332.65°)
OKLaboklab(19.48% 0.0665 -0.032)
OKLCHoklch(19.48% 0.074 334.3)
XYZxyz(1.1689, 0.6338, 1.5738)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270422 #042709
analogous
#1A0427 #270422 #270410
triadic
#270422 #222704 #042227
tetradic
#270422 #271A04 #042709 #041027
square
#270422 #271A04 #042709 #041027
split-complementary
#270422 #102704 #04271A
monochromatic
#1C0318 #1C0318 #270422 #5F0A52 #960F83

Accessibility & contrast

On white

18.64
#270422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#270422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270422
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270422#FFFFFF#000000##FFFFFF
##2704221.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040F23
Deuteranopia (green-blind)
#0F1521
Tritanopia (blue-blind)
#290611
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270422;
/* rgb */ color: rgb(39, 4, 34);
/* oklch */ color: oklch(19.5% 0.074 334.3);
Tailwind
colors: {
  custom: {
    50: '#62485d',
    500: '#270422',
    950: '#000000',
  },
}
SCSS
$custom: #270422;
$custom-light: #62485d;
$custom-dark: #000000;
JSON
{
  "hex": "#270422",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 308.571,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19483,
    "c": 0.07382,
    "h": 334.3
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#270422
secondary
#1D6A28
accent
#F84D30
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #270422

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

Preview Lab → · Contrast checker → · Palette generator →

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