#321C69#321C69

#321C69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.126 H 290.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#321C69
RGBrgb(50, 28, 105)
HSLhsl(257, 58%, 26%)
HSVhsv(257, 73%, 41%)
CMYKcmyk(52.4%, 73.3%, 0%, 58.8%)
CIE-LABlab(18.05, 31.13, -41.33)
CIE-LCHlch(18.05, 51.74, 306.98°)
OKLaboklab(30.71% 0.0432 -0.1186)
OKLCHoklch(30.71% 0.126 290)
XYZxyz(4.2797, 2.5284, 13.6244)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C69 #53691C
analogous
#1C2C69 #321C69 #581C69
triadic
#321C69 #69321C #1C6932
tetradic
#321C69 #691C2C #53691C #1C6958
square
#321C69 #691C2C #53691C #1C6958
split-complementary
#321C69 #69581C #2C691C
monochromatic
#0C0618 #1B0F39 #321C69 #492999 #6036C9

Accessibility & contrast

On white

13.95
#321C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#321C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C69
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C69#FFFFFF#000000##FFFFFF
##321C691.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#1F3040
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321c69;
/* rgb */ color: rgb(50, 28, 105);
/* oklch */ color: oklch(30.7% 0.126 290.0);
Tailwind
colors: {
  custom: {
    50: '#705a95',
    500: '#321c69',
    950: '#000000',
  },
}
SCSS
$custom: #321c69;
$custom-light: #705a95;
$custom-dark: #000000;
JSON
{
  "hex": "#321c69",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 257.143,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.12621,
    "h": 290
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#321C69
secondary
#849E43
accent
#E147B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321C69

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

Preview Lab → · Contrast checker → · Palette generator →

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