#321B69#321B69

#321B69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.128 H 290.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#321B69
RGBrgb(50, 27, 105)
HSLhsl(258, 59%, 26%)
HSVhsv(258, 74%, 41%)
CMYKcmyk(52.4%, 74.3%, 0%, 58.8%)
CIE-LABlab(17.84, 31.71, -41.68)
CIE-LCHlch(17.84, 52.37, 307.27°)
OKLaboklab(30.56% 0.0442 -0.1196)
OKLCHoklch(30.56% 0.128 290.3)
XYZxyz(4.2564, 2.4817, 13.6166)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B69 #52691B
analogous
#1B2B69 #321B69 #591B69
triadic
#321B69 #69321B #1B6932
tetradic
#321B69 #691B2B #52691B #1B6959
square
#321B69 #691B2B #52691B #1B6959
split-complementary
#321B69 #69591B #2B691B
monochromatic
#0C0618 #1B0E38 #321B69 #49289A #6034CA

Accessibility & contrast

On white

14.03
#321B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321B69
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B69#FFFFFF#000000##FFFFFF
##321B691.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321b69;
/* rgb */ color: rgb(50, 27, 105);
/* oklch */ color: oklch(30.6% 0.128 290.3);
Tailwind
colors: {
  custom: {
    50: '#705995',
    500: '#321b69',
    950: '#000000',
  },
}
SCSS
$custom: #321b69;
$custom-light: #705995;
$custom-dark: #000000;
JSON
{
  "hex": "#321b69",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 257.692,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30564,
    "c": 0.12751,
    "h": 290.3
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#321B69
secondary
#839E42
accent
#E246B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321B69

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

Preview Lab → · Contrast checker → · Palette generator →

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