#320C55#320C55

#320C55 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.121 H 302.1°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#320C55
RGBrgb(50, 12, 85)
HSLhsl(271, 75%, 19%)
HSVhsv(271, 86%, 33%)
CMYKcmyk(41.2%, 85.9%, 0%, 66.7%)
CIE-LABlab(13.21, 33.60, -35.90)
CIE-LCHlch(13.21, 49.18, 313.10°)
OKLaboklab(26.72% 0.0643 -0.1025)
OKLCHoklch(26.72% 0.121 302.1)
XYZxyz(3.0862, 1.5969, 8.7382)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C55 #2F550C
analogous
#0E0C55 #320C55 #550C54
triadic
#320C55 #55320C #0C5532
tetradic
#320C55 #550E0C #2F550C #0C5455
square
#320C55 #550E0C #2F550C #0C5455
split-complementary
#320C55 #54550C #0C550E
monochromatic
#10041B #12041F #320C55 #52148B #711BC0

Accessibility & contrast

On white

15.92
#320C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#320C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320C55
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C55#FFFFFF#000000##FFFFFF
##320C551.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#2A2031
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #320c55;
/* rgb */ color: rgb(50, 12, 85);
/* oklch */ color: oklch(26.7% 0.121 302.1);
Tailwind
colors: {
  custom: {
    50: '#6e5086',
    500: '#320c55',
    950: '#000000',
  },
}
SCSS
$custom: #320c55;
$custom-light: #6e5086;
$custom-dark: #000000;
JSON
{
  "hex": "#320c55",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 271.233,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26716,
    "c": 0.12101,
    "h": 302.1
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#320C55
secondary
#5C902D
accent
#F23690
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #320C55

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

Preview Lab → · Contrast checker → · Palette generator →

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