#23023B#23023B

#23023B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.102 H 305.4°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#23023B
RGBrgb(35, 2, 59)
HSLhsl(275, 93%, 12%)
HSVhsv(275, 97%, 23%)
CMYKcmyk(40.7%, 96.6%, 0%, 76.9%)
CIE-LABlab(6.47, 28.67, -28.81)
CIE-LCHlch(6.47, 40.64, 314.86°)
OKLaboklab(20.64% 0.0588 -0.0827)
OKLCHoklch(20.64% 0.102 305.4)
XYZxyz(1.5041, 0.7165, 4.1959)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23023B #1A3B02
analogous
#07023B #23023B #3B0237
triadic
#23023B #3B2302 #023B23
tetradic
#23023B #3B0702 #1A3B02 #02373B
square
#23023B #3B0702 #1A3B02 #02373B
split-complementary
#23023B #373B02 #023B07
monochromatic
#12011E #12011E #23023B #460476 #6906B1

Accessibility & contrast

On white

18.37
#23023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#23023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23023B
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23023B#FFFFFF#000000##FFFFFF
##23023B1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#1E111F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23023b;
/* rgb */ color: rgb(35, 2, 59);
/* oklch */ color: oklch(20.6% 0.102 305.4);
Tailwind
colors: {
  custom: {
    50: '#614771',
    500: '#23023b',
    950: '#000000',
  },
}
SCSS
$custom: #23023b;
$custom-light: #614771;
$custom-dark: #000000;
JSON
{
  "hex": "#23023b",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 274.737,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20637,
    "c": 0.10151,
    "h": 305.4
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#23023B
secondary
#457E1A
accent
#FF2983
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050008
muted
#7A777B

Preview Lab

Preview with #23023B

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

Preview Lab → · Contrast checker → · Palette generator →

#23023B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva