#23041E#23041E

#23041E is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.067 H 334.9°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#23041E
RGBrgb(35, 4, 30)
HSLhsl(310, 79%, 8%)
HSVhsv(310, 89%, 14%)
CMYKcmyk(0%, 88.6%, 14.3%, 86.3%)
CIE-LABlab(4.86, 18.58, -9.52)
CIE-LCHlch(4.86, 20.87, 332.87°)
OKLaboklab(18.41% 0.0608 -0.0285)
OKLCHoklch(18.41% 0.067 334.9)
XYZxyz(0.9709, 0.5380, 1.2807)
Luminance0.0054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23041E #042309
analogous
#180423 #23041E #23040F
triadic
#23041E #1E2304 #041E23
tetradic
#23041E #231804 #042309 #040F23
square
#23041E #231804 #042309 #040F23
split-complementary
#23041E #0F2304 #042318
monochromatic
#1B0318 #1B0318 #23041E #5A0A4D #91117C

Accessibility & contrast

On white

18.96
#23041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#23041E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23041E
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23041E#FFFFFF#000000##FFFFFF
##23041E1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040D1F
Deuteranopia (green-blind)
#0E121D
Tritanopia (blue-blind)
#25060F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #23041e;
/* rgb */ color: rgb(35, 4, 30);
/* oklch */ color: oklch(18.4% 0.067 334.9);
Tailwind
colors: {
  custom: {
    50: '#5e4859',
    500: '#23041e',
    950: '#000000',
  },
}
SCSS
$custom: #23041e;
$custom-light: #5e4859;
$custom-dark: #000000;
JSON
{
  "hex": "#23041e",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 309.677,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18409,
    "c": 0.06718,
    "h": 334.9
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#23041E
secondary
#1D6629
accent
#F65132
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #23041E

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

Preview Lab → · Contrast checker → · Palette generator →

#23041E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva