#320E4A#320E4A

#320E4A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.106 H 307.9°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#320E4A
RGBrgb(50, 14, 74)
HSLhsl(276, 68%, 17%)
HSVhsv(276, 81%, 29%)
CMYKcmyk(32.4%, 81.1%, 0%, 71%)
CIE-LABlab(12.52, 29.77, -29.47)
CIE-LCHlch(12.52, 41.89, 315.29°)
OKLaboklab(25.92% 0.0652 -0.0836)
OKLCHoklch(25.92% 0.106 307.9)
XYZxyz(2.7082, 1.4866, 6.6215)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320E4A #264A0E
analogous
#140E4A #320E4A #4A0E44
triadic
#320E4A #4A320E #0E4A32
tetradic
#320E4A #4A140E #264A0E #0E444A
square
#320E4A #4A140E #264A0E #0E444A
split-complementary
#320E4A #444A0E #0E4A14
monochromatic
#11051A #11051A #320E4A #55187D #7821B1

Accessibility & contrast

On white

16.19
#320E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#320E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320E4A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320E4A#FFFFFF#000000##FFFFFF
##320E4A1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320e4a;
/* rgb */ color: rgb(50, 14, 74);
/* oklch */ color: oklch(25.9% 0.106 307.9);
Tailwind
colors: {
  custom: {
    50: '#6d507d',
    500: '#320e4a',
    950: '#000000',
  },
}
SCSS
$custom: #320e4a;
$custom-light: #6d507d;
$custom-dark: #000000;
JSON
{
  "hex": "#320e4a",
  "rgb": {
    "r": 50,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 276,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25918,
    "c": 0.10605,
    "h": 307.9
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#320E4A
secondary
#51852F
accent
#EB3D82
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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