#320338#320338

#320338 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.102 H 322.9°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#320338
RGBrgb(50, 3, 56)
HSLhsl(293, 90%, 12%)
HSVhsv(293, 95%, 22%)
CMYKcmyk(10.7%, 94.6%, 0%, 78%)
CIE-LABlab(9.23, 30.69, -22.03)
CIE-LCHlch(9.23, 37.78, 324.33°)
OKLaboklab(23.12% 0.0816 -0.0617)
OKLCHoklch(23.12% 0.102 322.9)
XYZxyz(2.0617, 1.0289, 3.8306)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320338 #093803
analogous
#180338 #320338 #380324
triadic
#320338 #383203 #033832
tetradic
#320338 #381803 #093803 #032438
square
#320338 #381803 #093803 #032438
split-complementary
#320338 #243803 #033818
monochromatic
#1A021D #1A021D #320338 #660672 #9A09AC

Accessibility & contrast

On white

17.42
#320338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#320338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320338
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320338#FFFFFF#000000##FFFFFF
##3203381.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#0B1C37
Tritanopia (blue-blind)
#330D1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320338;
/* rgb */ color: rgb(50, 3, 56);
/* oklch */ color: oklch(23.1% 0.102 322.9);
Tailwind
colors: {
  custom: {
    50: '#6c4a6f',
    500: '#320338',
    950: '#000000',
  },
}
SCSS
$custom: #320338;
$custom-light: #6c4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#320338",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 293.208,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23121,
    "c": 0.10232,
    "h": 322.9
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#320338
secondary
#277B1C
accent
#FF2941
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320338

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

Preview Lab → · Contrast checker → · Palette generator →

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