#321C65#321C65

#321C65 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 291.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#321C65
RGBrgb(50, 28, 101)
HSLhsl(258, 57%, 25%)
HSVhsv(258, 72%, 40%)
CMYKcmyk(50.5%, 72.3%, 0%, 60.4%)
CIE-LABlab(17.68, 29.87, -39.30)
CIE-LCHlch(17.68, 49.37, 307.24°)
OKLaboklab(30.34% 0.044 -0.1126)
OKLCHoklch(30.34% 0.121 291.3)
XYZxyz(4.0789, 2.4481, 12.5670)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C65 #4F651C
analogous
#1C2B65 #321C65 #561C65
triadic
#321C65 #65321C #1C6532
tetradic
#321C65 #651C2B #4F651C #1C6556
square
#321C65 #651C2B #4F651C #1C6556
split-complementary
#321C65 #65561C #2B651C
monochromatic
#0C0718 #1A0F35 #321C65 #4A2995 #6137C5

Accessibility & contrast

On white

14.10
#321C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#321C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C65
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C65#FFFFFF#000000##FFFFFF
##321C651.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#222E3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321c65;
/* rgb */ color: rgb(50, 28, 101);
/* oklch */ color: oklch(30.3% 0.121 291.3);
Tailwind
colors: {
  custom: {
    50: '#6f5a92',
    500: '#321c65',
    950: '#000000',
  },
}
SCSS
$custom: #321c65;
$custom-light: #6f5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#321c65",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 258.082,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.1209,
    "h": 291.3
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#321C65
secondary
#809A43
accent
#E048B2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321C65

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

Preview Lab → · Contrast checker → · Palette generator →

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