#321D65#321D65

#321D65 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.120 H 291.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#321D65
RGBrgb(50, 29, 101)
HSLhsl(258, 55%, 25%)
HSVhsv(258, 71%, 40%)
CMYKcmyk(50.5%, 71.3%, 0%, 60.4%)
CIE-LABlab(17.90, 29.27, -38.95)
CIE-LCHlch(17.90, 48.72, 306.93°)
OKLaboklab(30.5% 0.0429 -0.1116)
OKLCHoklch(30.5% 0.12 291)
XYZxyz(4.1031, 2.4963, 12.5750)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D65 #50651D
analogous
#1D2C65 #321D65 #561D65
triadic
#321D65 #65321D #1D6532
tetradic
#321D65 #651D2C #50651D #1D6556
square
#321D65 #651D2C #50651D #1D6556
split-complementary
#321D65 #65561D #2C651D
monochromatic
#0C0718 #1A0F35 #321D65 #4A2B95 #6138C4

Accessibility & contrast

On white

14.01
#321D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#321D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D65
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D65#FFFFFF#000000##FFFFFF
##321D651.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#222F3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321d65;
/* rgb */ color: rgb(50, 29, 101);
/* oklch */ color: oklch(30.5% 0.120 291.0);
Tailwind
colors: {
  custom: {
    50: '#6f5a92',
    500: '#321d65',
    950: '#000000',
  },
}
SCSS
$custom: #321d65;
$custom-light: #6f5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#321d65",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 257.5,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.11952,
    "h": 291
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#321D65
secondary
#819A44
accent
#DF49B3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321D65

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

Preview Lab → · Contrast checker → · Palette generator →

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