#230421#230421

#230421 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.6% C 0.070 H 330.6°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#230421
RGBrgb(35, 4, 33)
HSLhsl(304, 79%, 8%)
HSVhsv(304, 89%, 14%)
CMYKcmyk(0%, 88.6%, 5.7%, 86.3%)
CIE-LABlab(5.00, 19.43, -11.65)
CIE-LCHlch(5.00, 22.65, 329.06°)
OKLaboklab(18.62% 0.0611 -0.0344)
OKLCHoklch(18.62% 0.07 330.6)
XYZxyz(1.0111, 0.5540, 1.4922)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230421 #042306
analogous
#150423 #230421 #230411
triadic
#230421 #212304 #042123
tetradic
#230421 #231504 #042306 #041123
square
#230421 #231504 #042306 #041123
split-complementary
#230421 #112304 #042315
monochromatic
#1B031A #1B031A #230421 #5A0A55 #911189

Accessibility & contrast

On white

18.91
#230421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#230421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230421
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230421#FFFFFF#000000##FFFFFF
##2304211.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E22
Deuteranopia (green-blind)
#0C1220
Tritanopia (blue-blind)
#250711
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #230421;
/* rgb */ color: rgb(35, 4, 33);
/* oklch */ color: oklch(18.6% 0.070 330.6);
Tailwind
colors: {
  custom: {
    50: '#5f485c',
    500: '#230421',
    950: '#000000',
  },
}
SCSS
$custom: #230421;
$custom-light: #5f485c;
$custom-dark: #000000;
JSON
{
  "hex": "#230421",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 303.871,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18618,
    "c": 0.07009,
    "h": 330.6
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#230421
secondary
#1D6622
accent
#F63F32
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #230421

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

Preview Lab → · Contrast checker → · Palette generator →

#230421 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva