#23052F#23052F

#23052F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.083 H 314.4°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#23052F
RGBrgb(35, 5, 47)
HSLhsl(283, 81%, 10%)
HSVhsv(283, 89%, 18%)
CMYKcmyk(25.5%, 89.4%, 0%, 81.6%)
CIE-LABlab(6.06, 23.25, -20.66)
CIE-LCHlch(6.06, 31.10, 318.39°)
OKLaboklab(19.94% 0.058 -0.0592)
OKLCHoklch(19.94% 0.083 314.4)
XYZxyz(1.2604, 0.6711, 2.7519)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23052F #112F05
analogous
#0E052F #23052F #2F0526
triadic
#23052F #2F2305 #052F23
tetradic
#23052F #2F0E05 #112F05 #05262F
square
#23052F #2F0E05 #112F05 #05262F
split-complementary
#23052F #262F05 #052F0E
monochromatic
#15031C #15031C #23052F #4C0B66 #75119E

Accessibility & contrast

On white

18.52
#23052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23052F
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23052F#FFFFFF#000000##FFFFFF
##23052F1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#220E19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #23052f;
/* rgb */ color: rgb(35, 5, 47);
/* oklch */ color: oklch(19.9% 0.083 314.4);
Tailwind
colors: {
  custom: {
    50: '#604868',
    500: '#23052f',
    950: '#000000',
  },
}
SCSS
$custom: #23052f;
$custom-light: #604868;
$custom-dark: #000000;
JSON
{
  "hex": "#23052f",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 282.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19936,
    "c": 0.08288,
    "h": 314.4
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#23052F
secondary
#36711F
accent
#F73169
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23052F

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

Preview Lab → · Contrast checker → · Palette generator →

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