#320D4A#320D4A

#320D4A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.107 H 308.1°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#320D4A
RGBrgb(50, 13, 74)
HSLhsl(276, 70%, 17%)
HSVhsv(276, 82%, 29%)
CMYKcmyk(32.4%, 82.4%, 0%, 71%)
CIE-LABlab(12.35, 30.25, -29.75)
CIE-LCHlch(12.35, 42.43, 315.48°)
OKLaboklab(25.8% 0.0663 -0.0844)
OKLCHoklch(25.8% 0.107 308.1)
XYZxyz(2.6951, 1.4604, 6.6171)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D4A #254A0D
analogous
#130D4A #320D4A #4A0D44
triadic
#320D4A #4A320D #0D4A32
tetradic
#320D4A #4A130D #254A0D #0D444A
square
#320D4A #4A130D #254A0D #0D444A
split-complementary
#320D4A #444A0D #0D4A13
monochromatic
#12051A #12051A #320D4A #55167E #781FB2

Accessibility & contrast

On white

16.25
#320D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#320D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D4A
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D4A#FFFFFF#000000##FFFFFF
##320D4A1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#2E1C2B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320d4a;
/* rgb */ color: rgb(50, 13, 74);
/* oklch */ color: oklch(25.8% 0.107 308.1);
Tailwind
colors: {
  custom: {
    50: '#6d507d',
    500: '#320d4a',
    950: '#000000',
  },
}
SCSS
$custom: #320d4a;
$custom-light: #6d507d;
$custom-dark: #000000;
JSON
{
  "hex": "#320d4a",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 276.393,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25799,
    "c": 0.10735,
    "h": 308.1
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#320D4A
secondary
#50852E
accent
#ED3B81
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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