#320A49#320A49

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

Color values

HEX#320A49
RGBrgb(50, 10, 73)
HSLhsl(278, 76%, 16%)
HSVhsv(278, 86%, 29%)
CMYKcmyk(31.5%, 86.3%, 0%, 71.4%)
CIE-LABlab(11.80, 31.34, -29.95)
CIE-LCHlch(11.80, 43.35, 316.30°)
OKLaboklab(25.38% 0.0697 -0.085)
OKLCHoklch(25.38% 0.11 309.3)
XYZxyz(2.6263, 1.3763, 6.4293)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A49 #21490A
analogous
#130A49 #320A49 #490A41
triadic
#320A49 #49320A #0A4932
tetradic
#320A49 #49130A #21490A #0A4149
square
#320A49 #49130A #21490A #0A4149
split-complementary
#320A49 #41490A #0A4913
monochromatic
#12041B #12041B #320A49 #57117F #7C19B5

Accessibility & contrast

On white

16.47
#320A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320A49
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A49#FFFFFF#000000##FFFFFF
##320A491.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#2F1A29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320a49;
/* rgb */ color: rgb(50, 10, 73);
/* oklch */ color: oklch(25.4% 0.110 309.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e7c',
    500: '#320a49',
    950: '#000000',
  },
}
SCSS
$custom: #320a49;
$custom-light: #6d4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#320a49",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 278.095,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2538,
    "c": 0.10991,
    "h": 309.3
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#320A49
secondary
#4B8629
accent
#F2357A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320A49

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

Preview Lab → · Contrast checker → · Palette generator →

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