#320D47#320D47

#320D47 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.104 H 310.1°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#320D47
RGBrgb(50, 13, 71)
HSLhsl(278, 69%, 16%)
HSVhsv(278, 82%, 28%)
CMYKcmyk(29.6%, 81.7%, 0%, 72.2%)
CIE-LABlab(12.10, 29.48, -28.08)
CIE-LCHlch(12.10, 40.71, 316.40°)
OKLaboklab(25.54% 0.0669 -0.0795)
OKLCHoklch(25.54% 0.104 310.1)
XYZxyz(2.5964, 1.4209, 6.0975)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D47 #22470D
analogous
#150D47 #320D47 #470D3F
triadic
#320D47 #47320D #0D4732
tetradic
#320D47 #47150D #22470D #0D3F47
square
#320D47 #47150D #22470D #0D3F47
split-complementary
#320D47 #3F470D #0D4715
monochromatic
#12051A #12051A #320D47 #56167B #7B20AE

Accessibility & contrast

On white

16.35
#320D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320D47
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D47#FFFFFF#000000##FFFFFF
##320D471.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#032046
Tritanopia (blue-blind)
#2F1A29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320d47;
/* rgb */ color: rgb(50, 13, 71);
/* oklch */ color: oklch(25.5% 0.104 310.1);
Tailwind
colors: {
  custom: {
    50: '#6d507b',
    500: '#320d47',
    950: '#000000',
  },
}
SCSS
$custom: #320d47;
$custom-light: #6d507b;
$custom-dark: #000000;
JSON
{
  "hex": "#320d47",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 278.276,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25536,
    "c": 0.10393,
    "h": 310.1
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#320D47
secondary
#4C822D
accent
#EC3C7C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320D47

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

Preview Lab → · Contrast checker → · Palette generator →

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