#321C60#321C60

#321C60 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.114 H 293.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#321C60
RGBrgb(50, 28, 96)
HSLhsl(259, 55%, 24%)
HSVhsv(259, 71%, 38%)
CMYKcmyk(47.9%, 70.8%, 0%, 62.4%)
CIE-LABlab(17.24, 28.31, -36.72)
CIE-LCHlch(17.24, 46.37, 307.63°)
OKLaboklab(29.89% 0.0448 -0.105)
OKLCHoklch(29.89% 0.114 293.1)
XYZxyz(3.8414, 2.3530, 11.3158)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C60 #4A601C
analogous
#1C2860 #321C60 #541C60
triadic
#321C60 #60321C #1C6032
tetradic
#321C60 #601C28 #4A601C #1C6054
square
#321C60 #601C28 #4A601C #1C6054
split-complementary
#321C60 #60541C #28601C
monochromatic
#0C0718 #190E31 #321C60 #4B2A8F #6338BF

Accessibility & contrast

On white

14.28
#321C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C60
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C60#FFFFFF#000000##FFFFFF
##321C601.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#252C3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321c60;
/* rgb */ color: rgb(50, 28, 96);
/* oklch */ color: oklch(29.9% 0.114 293.1);
Tailwind
colors: {
  custom: {
    50: '#6f5a8e',
    500: '#321c60',
    950: '#000000',
  },
}
SCSS
$custom: #321c60;
$custom-light: #6f5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#321c60",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 259.412,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29885,
    "c": 0.11417,
    "h": 293.1
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#321C60
secondary
#7B9542
accent
#DE4AAE
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #321C60

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

Preview Lab → · Contrast checker → · Palette generator →

#321C60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva