#230332#230332

#230332 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.090 H 312.3°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#230332
RGBrgb(35, 3, 50)
HSLhsl(281, 89%, 10%)
HSVhsv(281, 94%, 20%)
CMYKcmyk(30%, 94%, 0%, 80.4%)
CIE-LABlab(5.90, 25.23, -23.15)
CIE-LCHlch(5.90, 34.24, 317.47°)
OKLaboklab(19.88% 0.0606 -0.0667)
OKLCHoklch(19.88% 0.09 312.3)
XYZxyz(1.3013, 0.6528, 3.0744)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230332 #123203
analogous
#0B0332 #230332 #320329
triadic
#230332 #322303 #033223
tetradic
#230332 #320B03 #123203 #032932
square
#230332 #320B03 #123203 #032932
split-complementary
#230332 #293203 #03320B
monochromatic
#14021D #14021D #230332 #4B066C #740AA5

Accessibility & contrast

On white

18.57
#230332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#230332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230332
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230332#FFFFFF#000000##FFFFFF
##2303321.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#210E1A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230332;
/* rgb */ color: rgb(35, 3, 50);
/* oklch */ color: oklch(19.9% 0.090 312.3);
Tailwind
colors: {
  custom: {
    50: '#60476a',
    500: '#230332',
    950: '#000000',
  },
}
SCSS
$custom: #230332;
$custom-light: #60476a;
$custom-dark: #000000;
JSON
{
  "hex": "#230332",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 280.851,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19881,
    "c": 0.09012,
    "h": 312.3
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#230332
secondary
#38751B
accent
#FF296D
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230332

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

Preview Lab → · Contrast checker → · Palette generator →

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