#320546#320546

#320546 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.113 H 312.1°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#320546
RGBrgb(50, 5, 70)
HSLhsl(282, 87%, 15%)
HSVhsv(282, 93%, 27%)
CMYKcmyk(28.6%, 92.9%, 0%, 72.5%)
CIE-LABlab(10.77, 32.82, -29.53)
CIE-LCHlch(10.77, 44.15, 318.02°)
OKLaboklab(24.58% 0.0757 -0.0837)
OKLCHoklch(24.58% 0.113 312.1)
XYZxyz(2.4749, 1.2289, 5.9000)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320546 #194605
analogous
#110546 #320546 #46053A
triadic
#320546 #463205 #054632
tetradic
#320546 #461105 #194605 #053A46
square
#320546 #461105 #194605 #053A46
split-complementary
#320546 #3A4605 #054611
monochromatic
#14021D #14021D #320546 #5B097F #840DB8

Accessibility & contrast

On white

16.86
#320546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#320546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320546
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320546#FFFFFF#000000##FFFFFF
##3205461.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#2F1626
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320546;
/* rgb */ color: rgb(50, 5, 70);
/* oklch */ color: oklch(24.6% 0.113 312.1);
Tailwind
colors: {
  custom: {
    50: '#6d4c7a',
    500: '#320546',
    950: '#000000',
  },
}
SCSS
$custom: #320546;
$custom-light: #6d4c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#320546",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 281.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24576,
    "c": 0.11288,
    "h": 312.1
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#320546
secondary
#408621
accent
#FD2B6C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #320546

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

Preview Lab → · Contrast checker → · Palette generator →

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