#23043B#23043B

#23043B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.098 H 304.8°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#23043B
RGBrgb(35, 4, 59)
HSLhsl(274, 87%, 12%)
HSVhsv(274, 93%, 23%)
CMYKcmyk(40.7%, 93.2%, 0%, 76.9%)
CIE-LABlab(6.86, 27.58, -28.17)
CIE-LCHlch(6.86, 39.42, 314.39°)
OKLaboklab(20.94% 0.056 -0.0806)
OKLCHoklch(20.94% 0.098 304.8)
XYZxyz(1.5258, 0.7599, 4.2031)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23043B #1C3B04
analogous
#07043B #23043B #3B0438
triadic
#23043B #3B2304 #043B23
tetradic
#23043B #3B0704 #1C3B04 #04383B
square
#23043B #3B0704 #1C3B04 #04383B
split-complementary
#23043B #383B04 #043B07
monochromatic
#11021D #11021D #23043B #450874 #670CAE

Accessibility & contrast

On white

18.23
#23043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#23043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23043B
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23043B#FFFFFF#000000##FFFFFF
##23043B1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#1E1220
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #23043b;
/* rgb */ color: rgb(35, 4, 59);
/* oklch */ color: oklch(20.9% 0.098 304.8);
Tailwind
colors: {
  custom: {
    50: '#614871',
    500: '#23043b',
    950: '#000000',
  },
}
SCSS
$custom: #23043b;
$custom-light: #614871;
$custom-dark: #000000;
JSON
{
  "hex": "#23043b",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 273.818,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20942,
    "c": 0.09817,
    "h": 304.8
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#23043B
secondary
#477D1E
accent
#FD2A86
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050108
muted
#79777B

Preview Lab

Preview with #23043B

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

Preview Lab → · Contrast checker → · Palette generator →

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