#320234#320234

#320234 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.100 H 326.5°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#320234
RGBrgb(50, 2, 52)
HSLhsl(298, 93%, 11%)
HSVhsv(298, 96%, 20%)
CMYKcmyk(3.8%, 96.2%, 0%, 79.6%)
CIE-LABlab(8.74, 30.42, -19.91)
CIE-LCHlch(8.74, 36.36, 326.79°)
OKLaboklab(22.67% 0.0837 -0.0555)
OKLCHoklch(22.67% 0.1 326.5)
XYZxyz(1.9569, 0.9696, 3.3322)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320234 #043402
analogous
#190234 #320234 #34021D
triadic
#320234 #343202 #023432
tetradic
#320234 #341902 #043402 #021D34
square
#320234 #341902 #043402 #021D34
split-complementary
#320234 #1D3402 #023419
monochromatic
#1C011D #1C011D #320234 #6B046F #A307AA

Accessibility & contrast

On white

17.59
#320234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320234
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320234#FFFFFF#000000##FFFFFF
##3202341.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#340A1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320234;
/* rgb */ color: rgb(50, 2, 52);
/* oklch */ color: oklch(22.7% 0.100 326.5);
Tailwind
colors: {
  custom: {
    50: '#6c496c',
    500: '#320234',
    950: '#000000',
  },
}
SCSS
$custom: #320234;
$custom-light: #6c496c;
$custom-dark: #000000;
JSON
{
  "hex": "#320234",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 52
  },
  "hsl": {
    "h": 297.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22674,
    "c": 0.10041,
    "h": 326.5
  },
  "luminance": 0.00969
}

Semantic roles & 50–950 ramp

primary
#320234
secondary
#1D781A
accent
#FF2931
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320234

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

Preview Lab → · Contrast checker → · Palette generator →

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