#320230#320230

#320230 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.097 H 330.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#320230
RGBrgb(50, 2, 48)
HSLhsl(303, 92%, 10%)
HSVhsv(303, 96%, 20%)
CMYKcmyk(0%, 96%, 4%, 80.4%)
CIE-LABlab(8.44, 29.66, -17.44)
CIE-LCHlch(8.44, 34.40, 329.54°)
OKLaboklab(22.37% 0.0841 -0.0483)
OKLCHoklch(22.37% 0.097 330.1)
XYZxyz(1.8706, 0.9351, 2.8777)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320230 #023204
analogous
#1C0232 #320230 #320218
triadic
#320230 #303202 #023032
tetradic
#320230 #321C02 #023204 #021832
square
#320230 #321C02 #023204 #021832
split-complementary
#320230 #183202 #02321C
monochromatic
#1D011C #1D011C #320230 #6D0468 #A807A1

Accessibility & contrast

On white

17.69
#320230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#320230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320230
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320230#FFFFFF#000000##FFFFFF
##3202301.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#340819
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #320230;
/* rgb */ color: rgb(50, 2, 48);
/* oklch */ color: oklch(22.4% 0.097 330.1);
Tailwind
colors: {
  custom: {
    50: '#6c4968',
    500: '#320230',
    950: '#000000',
  },
}
SCSS
$custom: #320230;
$custom-light: #6c4968;
$custom-dark: #000000;
JSON
{
  "hex": "#320230",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 302.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.09694,
    "h": 330.1
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#320230
secondary
#19761D
accent
#FF3229
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320230

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

Preview Lab → · Contrast checker → · Palette generator →

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