#23052E#23052E

#23052E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.8% C 0.082 H 315.4°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#23052E
RGBrgb(35, 5, 46)
HSLhsl(284, 80%, 10%)
HSVhsv(284, 89%, 18%)
CMYKcmyk(23.9%, 89.1%, 0%, 82%)
CIE-LABlab(5.99, 22.93, -20.02)
CIE-LCHlch(5.99, 30.44, 318.88°)
OKLaboklab(19.85% 0.0582 -0.0574)
OKLCHoklch(19.85% 0.082 315.4)
XYZxyz(1.2405, 0.6632, 2.6469)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23052E #102E05
analogous
#0E052E #23052E #2E0525
triadic
#23052E #2E2305 #052E23
tetradic
#23052E #2E0E05 #102E05 #05252E
square
#23052E #2E0E05 #102E05 #05252E
split-complementary
#23052E #252E05 #052E0E
monochromatic
#15031C #15031C #23052E #4D0B65 #77119C

Accessibility & contrast

On white

18.54
#23052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#23052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23052E
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23052E#FFFFFF#000000##FFFFFF
##23052E1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#220D19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #23052e;
/* rgb */ color: rgb(35, 5, 46);
/* oklch */ color: oklch(19.8% 0.082 315.4);
Tailwind
colors: {
  custom: {
    50: '#604867',
    500: '#23052e',
    950: '#000000',
  },
}
SCSS
$custom: #23052e;
$custom-light: #604867;
$custom-dark: #000000;
JSON
{
  "hex": "#23052e",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 283.902,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.19847,
    "c": 0.08175,
    "h": 315.4
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#23052E
secondary
#35701F
accent
#F73166
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23052E

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

Preview Lab → · Contrast checker → · Palette generator →

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