#270023#270023

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

Color values

HEX#270023
RGBrgb(39, 0, 35)
HSLhsl(306, 100%, 8%)
HSVhsv(306, 100%, 15%)
CMYKcmyk(0%, 100%, 10.3%, 84.7%)
CIE-LABlab(4.99, 23.97, -13.16)
CIE-LCHlch(4.99, 27.34, 331.23°)
OKLaboklab(18.82% 0.0753 -0.0386)
OKLCHoklch(18.82% 0.085 332.9)
XYZxyz(1.1401, 0.5528, 1.6364)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270023 #002704
analogous
#170027 #270023 #27000F
triadic
#270023 #232700 #002327
tetradic
#270023 #271700 #002704 #000F27
square
#270023 #271700 #002704 #000F27
split-complementary
#270023 #0F2700 #002717
monochromatic
#1F001B #1F001B #270023 #64005A #A10091

Accessibility & contrast

On white

18.91
#270023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270023
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270023#FFFFFF#000000##FFFFFF
##2700231.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D24
Deuteranopia (green-blind)
#0C1322
Tritanopia (blue-blind)
#290310
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270023;
/* rgb */ color: rgb(39, 0, 35);
/* oklch */ color: oklch(18.8% 0.085 332.9);
Tailwind
colors: {
  custom: {
    50: '#63465e',
    500: '#270023',
    950: '#000000',
  },
}
SCSS
$custom: #270023;
$custom-light: #63465e;
$custom-dark: #000000;
JSON
{
  "hex": "#270023",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 306.154,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18824,
    "c": 0.08459,
    "h": 332.9
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#270023
secondary
#146F1D
accent
#FF3F29
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050004
muted
#7A7679

Preview Lab

Preview with #270023

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

Preview Lab → · Contrast checker → · Palette generator →

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