#320D49#320D49

#320D49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.106 H 308.8°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#320D49
RGBrgb(50, 13, 73)
HSLhsl(277, 70%, 17%)
HSVhsv(277, 82%, 29%)
CMYKcmyk(31.5%, 82.2%, 0%, 71.4%)
CIE-LABlab(12.27, 30.00, -29.19)
CIE-LCHlch(12.27, 41.86, 315.78°)
OKLaboklab(25.71% 0.0665 -0.0828)
OKLCHoklch(25.71% 0.106 308.8)
XYZxyz(2.6617, 1.4470, 6.4411)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D49 #24490D
analogous
#140D49 #320D49 #490D42
triadic
#320D49 #49320D #0D4932
tetradic
#320D49 #49140D #24490D #0D4249
square
#320D49 #49140D #24490D #0D4249
split-complementary
#320D49 #42490D #0D4914
monochromatic
#12051A #12051A #320D49 #56167D #7920B1

Accessibility & contrast

On white

16.29
#320D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320D49
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D49#FFFFFF#000000##FFFFFF
##320D491.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#2E1B2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320d49;
/* rgb */ color: rgb(50, 13, 73);
/* oklch */ color: oklch(25.7% 0.106 308.8);
Tailwind
colors: {
  custom: {
    50: '#6d507c',
    500: '#320d49',
    950: '#000000',
  },
}
SCSS
$custom: #320d49;
$custom-light: #6d507c;
$custom-dark: #000000;
JSON
{
  "hex": "#320d49",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 277,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2571,
    "c": 0.10621,
    "h": 308.8
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#320D49
secondary
#4F842D
accent
#ED3B7F
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320D49

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

Preview Lab → · Contrast checker → · Palette generator →

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