#320E4B#320E4B

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

Color values

HEX#320E4B
RGBrgb(50, 14, 75)
HSLhsl(275, 69%, 17%)
HSVhsv(275, 81%, 29%)
CMYKcmyk(33.3%, 81.3%, 0%, 70.6%)
CIE-LABlab(12.61, 30.04, -30.02)
CIE-LCHlch(12.61, 42.47, 315.01°)
OKLaboklab(26.01% 0.065 -0.0853)
OKLCHoklch(26.01% 0.107 307.3)
XYZxyz(2.7422, 1.5002, 6.8004)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320E4B #274B0E
analogous
#140E4B #320E4B #4B0E45
triadic
#320E4B #4B320E #0E4B32
tetradic
#320E4B #4B140E #274B0E #0E454B
square
#320E4B #4B140E #274B0E #0E454B
split-complementary
#320E4B #454B0E #0E4B14
monochromatic
#11051A #11051A #320E4B #54187F #7721B2

Accessibility & contrast

On white

16.15
#320E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320E4B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320E4B#FFFFFF#000000##FFFFFF
##320E4B1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#2E1D2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #320e4b;
/* rgb */ color: rgb(50, 14, 75);
/* oklch */ color: oklch(26.0% 0.107 307.3);
Tailwind
colors: {
  custom: {
    50: '#6d507e',
    500: '#320e4b',
    950: '#000000',
  },
}
SCSS
$custom: #320e4b;
$custom-light: #6d507e;
$custom-dark: #000000;
JSON
{
  "hex": "#320e4b",
  "rgb": {
    "r": 50,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 275.41,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26007,
    "c": 0.1072,
    "h": 307.3
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#320E4B
secondary
#53862F
accent
#EB3C84
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #320E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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