#321D60#321D60

#321D60 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.113 H 292.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#321D60
RGBrgb(50, 29, 96)
HSLhsl(259, 54%, 25%)
HSVhsv(259, 70%, 38%)
CMYKcmyk(47.9%, 69.8%, 0%, 62.4%)
CIE-LABlab(17.47, 27.70, -36.35)
CIE-LCHlch(17.47, 45.70, 307.30°)
OKLaboklab(30.05% 0.0436 -0.1039)
OKLCHoklch(30.05% 0.113 292.7)
XYZxyz(3.8655, 2.4012, 11.3239)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D60 #4B601D
analogous
#1D2A60 #321D60 #541D60
triadic
#321D60 #60321D #1D6032
tetradic
#321D60 #601D2A #4B601D #1D6054
square
#321D60 #601D2A #4B601D #1D6054
split-complementary
#321D60 #60541D #2A601D
monochromatic
#0C0718 #1A0F31 #321D60 #4A2B8F #6339BE

Accessibility & contrast

On white

14.19
#321D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#321D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D60
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D60#FFFFFF#000000##FFFFFF
##321D601.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#252D3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321d60;
/* rgb */ color: rgb(50, 29, 96);
/* oklch */ color: oklch(30.0% 0.113 292.7);
Tailwind
colors: {
  custom: {
    50: '#6e5a8e',
    500: '#321d60',
    950: '#000000',
  },
}
SCSS
$custom: #321d60;
$custom-light: #6e5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#321d60",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 258.806,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30048,
    "c": 0.11272,
    "h": 292.7
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#321D60
secondary
#7C9544
accent
#DD4BAF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #321D60

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

Preview Lab → · Contrast checker → · Palette generator →

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