#320947#320947

#320947 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.109 H 310.8°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#320947
RGBrgb(50, 9, 71)
HSLhsl(280, 78%, 16%)
HSVhsv(280, 87%, 28%)
CMYKcmyk(29.6%, 87.3%, 0%, 72.2%)
CIE-LABlab(11.47, 31.27, -29.09)
CIE-LCHlch(11.47, 42.70, 317.07°)
OKLaboklab(25.1% 0.0712 -0.0825)
OKLCHoklch(25.1% 0.109 310.8)
XYZxyz(2.5502, 1.3285, 6.0821)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320947 #1E4709
analogous
#130947 #320947 #47093D
triadic
#320947 #473209 #094732
tetradic
#320947 #471309 #1E4709 #093D47
square
#320947 #471309 #1E4709 #093D47
split-complementary
#320947 #3D4709 #094713
monochromatic
#13031B #13031B #320947 #58107D #7E17B4

Accessibility & contrast

On white

16.59
#320947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#320947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320947
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320947#FFFFFF#000000##FFFFFF
##3209471.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#2F1828
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320947;
/* rgb */ color: rgb(50, 9, 71);
/* oklch */ color: oklch(25.1% 0.109 310.8);
Tailwind
colors: {
  custom: {
    50: '#6d4e7b',
    500: '#320947',
    950: '#000000',
  },
}
SCSS
$custom: #320947;
$custom-light: #6d4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320947",
  "rgb": {
    "r": 50,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 279.677,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25096,
    "c": 0.10893,
    "h": 310.8
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#320947
secondary
#478427
accent
#F43475
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320947

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

Preview Lab → · Contrast checker → · Palette generator →

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