#321A69#321A69

#321A69 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.129 H 290.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#321A69
RGBrgb(50, 26, 105)
HSLhsl(258, 60%, 26%)
HSVhsv(258, 75%, 41%)
CMYKcmyk(52.4%, 75.2%, 0%, 58.8%)
CIE-LABlab(17.63, 32.29, -42.02)
CIE-LCHlch(17.63, 52.99, 307.54°)
OKLaboklab(30.42% 0.0452 -0.1206)
OKLCHoklch(30.42% 0.129 290.6)
XYZxyz(4.2339, 2.4366, 13.6091)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A69 #51691A
analogous
#1A2969 #321A69 #591A69
triadic
#321A69 #69321A #1A6932
tetradic
#321A69 #691A29 #51691A #1A6959
square
#321A69 #691A29 #51691A #1A6959
split-complementary
#321A69 #69591A #29691A
monochromatic
#0C0619 #1B0E38 #321A69 #49269A #6132CB

Accessibility & contrast

On white

14.12
#321A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321A69
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A69#FFFFFF#000000##FFFFFF
##321A691.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#1F2F3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321a69;
/* rgb */ color: rgb(50, 26, 105);
/* oklch */ color: oklch(30.4% 0.129 290.6);
Tailwind
colors: {
  custom: {
    50: '#705995',
    500: '#321a69',
    950: '#000000',
  },
}
SCSS
$custom: #321a69;
$custom-light: #705995;
$custom-dark: #000000;
JSON
{
  "hex": "#321a69",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 258.228,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30417,
    "c": 0.12878,
    "h": 290.6
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#321A69
secondary
#829E40
accent
#E344B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321A69

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

Preview Lab → · Contrast checker → · Palette generator →

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