#320C49#320C49

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

Color values

HEX#320C49
RGBrgb(50, 12, 73)
HSLhsl(277, 72%, 17%)
HSVhsv(277, 84%, 29%)
CMYKcmyk(31.5%, 83.6%, 0%, 71.4%)
CIE-LABlab(12.10, 30.46, -29.46)
CIE-LCHlch(12.10, 42.37, 315.96°)
OKLaboklab(25.6% 0.0676 -0.0836)
OKLCHoklch(25.6% 0.108 309)
XYZxyz(2.6492, 1.4221, 6.4370)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C49 #23490C
analogous
#140C49 #320C49 #490C42
triadic
#320C49 #49320C #0C4932
tetradic
#320C49 #49140C #23490C #0C4249
square
#320C49 #49140C #23490C #0C4249
split-complementary
#320C49 #42490C #0C4914
monochromatic
#12041A #12041A #320C49 #56157E #7A1DB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##320C49#FFFFFF#000000##FFFFFF
##320C491.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)
#001E4B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#2E1B2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #320c49;
/* rgb */ color: rgb(50, 12, 73);
/* oklch */ color: oklch(25.6% 0.107 309.0);
Tailwind
colors: {
  custom: {
    50: '#6d4f7c',
    500: '#320c49',
    950: '#000000',
  },
}
SCSS
$custom: #320c49;
$custom-light: #6d4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#320c49",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 277.377,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.1075,
    "h": 309
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#320C49
secondary
#4D852C
accent
#EE397E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320C49

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

Preview Lab → · Contrast checker → · Palette generator →

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