#320346#320346

#320346 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.116 H 312.4°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#320346
RGBrgb(50, 3, 70)
HSLhsl(282, 92%, 14%)
HSVhsv(282, 96%, 27%)
CMYKcmyk(28.6%, 95.7%, 0%, 72.5%)
CIE-LABlab(10.45, 33.76, -30.05)
CIE-LCHlch(10.45, 45.19, 318.33°)
OKLaboklab(24.36% 0.078 -0.0852)
OKLCHoklch(24.36% 0.116 312.4)
XYZxyz(2.4532, 1.1855, 5.8928)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320346 #174603
analogous
#110346 #320346 #460339
triadic
#320346 #463203 #034632
tetradic
#320346 #461103 #174603 #033946
square
#320346 #461103 #174603 #033946
split-complementary
#320346 #394603 #034611
monochromatic
#15011D #15011D #320346 #5C0681 #8608BB

Accessibility & contrast

On white

16.98
#320346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#320346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320346
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320346#FFFFFF#000000##FFFFFF
##3203461.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#301526
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320346;
/* rgb */ color: rgb(50, 3, 70);
/* oklch */ color: oklch(24.4% 0.116 312.4);
Tailwind
colors: {
  custom: {
    50: '#6d4b7a',
    500: '#320346',
    950: '#000000',
  },
}
SCSS
$custom: #320346;
$custom-light: #6d4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#320346",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 282.09,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24355,
    "c": 0.1155,
    "h": 312.4
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#320346
secondary
#3D871D
accent
#FF2969
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #320346

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

Preview Lab → · Contrast checker → · Palette generator →

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