#23023A#23023A

#23023A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.100 H 306.1°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#23023A
RGBrgb(35, 2, 58)
HSLhsl(275, 93%, 12%)
HSVhsv(275, 97%, 23%)
CMYKcmyk(39.7%, 96.6%, 0%, 77.3%)
CIE-LABlab(6.38, 28.35, -28.24)
CIE-LCHlch(6.38, 40.01, 315.12°)
OKLaboklab(20.53% 0.0592 -0.0811)
OKLCHoklch(20.53% 0.1 306.1)
XYZxyz(1.4784, 0.7062, 4.0606)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23023A #193A02
analogous
#07023A #23023A #3A0235
triadic
#23023A #3A2302 #023A23
tetradic
#23023A #3A0702 #193A02 #02353A
square
#23023A #3A0702 #193A02 #02353A
split-complementary
#23023A #353A02 #023A07
monochromatic
#12011E #12011E #23023A #470475 #6A06B0

Accessibility & contrast

On white

18.40
#23023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23023A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23023A#FFFFFF#000000##FFFFFF
##23023A1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#1F111F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23023a;
/* rgb */ color: rgb(35, 2, 58);
/* oklch */ color: oklch(20.5% 0.100 306.1);
Tailwind
colors: {
  custom: {
    50: '#614771',
    500: '#23023a',
    950: '#000000',
  },
}
SCSS
$custom: #23023a;
$custom-light: #614771;
$custom-dark: #000000;
JSON
{
  "hex": "#23023a",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 275.357,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20531,
    "c": 0.10044,
    "h": 306.1
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#23023A
secondary
#437D1A
accent
#FF2981
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #23023A

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

Preview Lab → · Contrast checker → · Palette generator →

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