#230321#230321

#230321 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.073 H 330.7°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#230321
RGBrgb(35, 3, 33)
HSLhsl(304, 84%, 7%)
HSVhsv(304, 91%, 14%)
CMYKcmyk(0%, 91.4%, 5.7%, 86.3%)
CIE-LABlab(4.81, 19.88, -11.95)
CIE-LCHlch(4.81, 23.19, 328.99°)
OKLaboklab(18.42% 0.0633 -0.0356)
OKLCHoklch(18.42% 0.073 330.7)
XYZxyz(1.0002, 0.5323, 1.4886)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230321 #032305
analogous
#150323 #230321 #230311
triadic
#230321 #212303 #032123
tetradic
#230321 #231503 #032305 #031123
square
#230321 #231503 #032305 #031123
split-complementary
#230321 #112303 #032315
monochromatic
#1C021B #1C021B #230321 #5B0856 #940D8B

Accessibility & contrast

On white

18.98
#230321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230321
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230321#FFFFFF#000000##FFFFFF
##2303211.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010D22
Deuteranopia (green-blind)
#0B1220
Tritanopia (blue-blind)
#250610
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #230321;
/* rgb */ color: rgb(35, 3, 33);
/* oklch */ color: oklch(18.4% 0.073 330.7);
Tailwind
colors: {
  custom: {
    50: '#5e475c',
    500: '#230321',
    950: '#000000',
  },
}
SCSS
$custom: #230321;
$custom-light: #5e475c;
$custom-dark: #000000;
JSON
{
  "hex": "#230321",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 303.75,
    "s": 84.211,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18423,
    "c": 0.07264,
    "h": 330.7
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#230321
secondary
#1B671F
accent
#FA3A2D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #230321

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

Preview Lab → · Contrast checker → · Palette generator →

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