#320D46#320D46

#320D46 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.103 H 310.7°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#320D46
RGBrgb(50, 13, 70)
HSLhsl(279, 69%, 16%)
HSVhsv(279, 81%, 27%)
CMYKcmyk(28.6%, 81.4%, 0%, 72.5%)
CIE-LABlab(12.01, 29.23, -27.51)
CIE-LCHlch(12.01, 40.14, 316.73°)
OKLaboklab(25.45% 0.0671 -0.0779)
OKLCHoklch(25.45% 0.103 310.7)
XYZxyz(2.5646, 1.4082, 5.9299)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D46 #21460D
analogous
#160D46 #320D46 #460D3E
triadic
#320D46 #46320D #0D4632
tetradic
#320D46 #46160D #21460D #0D3E46
square
#320D46 #46160D #21460D #0D3E46
split-complementary
#320D46 #3E460D #0D4616
monochromatic
#12051A #12051A #320D46 #57177A #7C20AD

Accessibility & contrast

On white

16.39
#320D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#320D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D46
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D46#FFFFFF#000000##FFFFFF
##320D461.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#042045
Tritanopia (blue-blind)
#2F1A28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320d46;
/* rgb */ color: rgb(50, 13, 70);
/* oklch */ color: oklch(25.4% 0.103 310.7);
Tailwind
colors: {
  custom: {
    50: '#6d507a',
    500: '#320d46',
    950: '#000000',
  },
}
SCSS
$custom: #320d46;
$custom-light: #6d507a;
$custom-dark: #000000;
JSON
{
  "hex": "#320d46",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 278.947,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25449,
    "c": 0.10279,
    "h": 310.7
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#320D46
secondary
#4B812D
accent
#EC3C7A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320D46

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

Preview Lab → · Contrast checker → · Palette generator →

#320D46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva