#270423#270423

#270423 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.075 H 333.0°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#270423
RGBrgb(39, 4, 35)
HSLhsl(307, 81%, 8%)
HSVhsv(307, 90%, 15%)
CMYKcmyk(0%, 89.7%, 10.3%, 84.7%)
CIE-LABlab(5.78, 22.02, -11.95)
CIE-LCHlch(5.78, 25.06, 331.51°)
OKLaboklab(19.55% 0.0666 -0.034)
OKLCHoklch(19.55% 0.075 333)
XYZxyz(1.1835, 0.6396, 1.6509)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270423 #042708
analogous
#190427 #270423 #270411
triadic
#270423 #232704 #042327
tetradic
#270423 #271904 #042708 #041127
square
#270423 #271904 #042708 #041127
split-complementary
#270423 #112704 #042719
monochromatic
#1C0319 #1C0319 #270423 #5F0A55 #960F87

Accessibility & contrast

On white

18.62
#270423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270423
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270423#FFFFFF#000000##FFFFFF
##2704231.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F24
Deuteranopia (green-blind)
#0F1522
Tritanopia (blue-blind)
#290712
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270423;
/* rgb */ color: rgb(39, 4, 35);
/* oklch */ color: oklch(19.6% 0.075 333.0);
Tailwind
colors: {
  custom: {
    50: '#62485e',
    500: '#270423',
    950: '#000000',
  },
}
SCSS
$custom: #270423;
$custom-light: #62485e;
$custom-dark: #000000;
JSON
{
  "hex": "#270423",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 35
  },
  "hsl": {
    "h": 306.857,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19552,
    "c": 0.07475,
    "h": 333
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#270423
secondary
#1D6A26
accent
#F84730
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #270423

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

Preview Lab → · Contrast checker → · Palette generator →

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