#320B49#320B49

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

Color values

HEX#320B49
RGBrgb(50, 11, 73)
HSLhsl(278, 74%, 16%)
HSVhsv(278, 85%, 29%)
CMYKcmyk(31.5%, 84.9%, 0%, 71.4%)
CIE-LABlab(11.95, 30.91, -29.71)
CIE-LCHlch(11.95, 42.87, 316.13°)
OKLaboklab(25.49% 0.0686 -0.0843)
OKLCHoklch(25.49% 0.109 309.1)
XYZxyz(2.6374, 1.3985, 6.4330)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B49 #22490B
analogous
#130B49 #320B49 #490B41
triadic
#320B49 #49320B #0B4932
tetradic
#320B49 #49130B #22490B #0B4149
square
#320B49 #49130B #22490B #0B4149
split-complementary
#320B49 #41490B #0B4913
monochromatic
#12041B #12041B #320B49 #56137E #7B1BB3

Accessibility & contrast

On white

16.41
#320B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320B49
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B49#FFFFFF#000000##FFFFFF
##320B491.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320b49;
/* rgb */ color: rgb(50, 11, 73);
/* oklch */ color: oklch(25.5% 0.109 309.1);
Tailwind
colors: {
  custom: {
    50: '#6d4f7c',
    500: '#320b49',
    950: '#000000',
  },
}
SCSS
$custom: #320b49;
$custom-light: #6d4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#320b49",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 277.742,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25485,
    "c": 0.10873,
    "h": 309.1
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#320B49
secondary
#4C852A
accent
#F0377C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320B49

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

Preview Lab → · Contrast checker → · Palette generator →

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