#321E69#321E69

#321E69 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.124 H 289.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#321E69
RGBrgb(50, 30, 105)
HSLhsl(256, 56%, 26%)
HSVhsv(256, 71%, 41%)
CMYKcmyk(52.4%, 71.4%, 0%, 58.8%)
CIE-LABlab(18.48, 29.93, -40.62)
CIE-LCHlch(18.48, 50.46, 306.38°)
OKLaboklab(31.03% 0.0411 -0.1165)
OKLCHoklch(31.03% 0.124 289.4)
XYZxyz(4.3287, 2.6264, 13.6407)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E69 #55691E
analogous
#1E3069 #321E69 #581E69
triadic
#321E69 #69321E #1E6932
tetradic
#321E69 #691E30 #55691E #1E6958
square
#321E69 #691E30 #55691E #1E6958
split-complementary
#321E69 #69581E #30691E
monochromatic
#0B0718 #1B1039 #321E69 #492C99 #603BC7

Accessibility & contrast

On white

13.77
#321E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#321E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E69
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E69#FFFFFF#000000##FFFFFF
##321E691.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#1F3140
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #321e69;
/* rgb */ color: rgb(50, 30, 105);
/* oklch */ color: oklch(31.0% 0.124 289.4);
Tailwind
colors: {
  custom: {
    50: '#705b95',
    500: '#321e69',
    950: '#000000',
  },
}
SCSS
$custom: #321e69;
$custom-light: #705b95;
$custom-dark: #000000;
JSON
{
  "hex": "#321e69",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 256,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31025,
    "c": 0.12354,
    "h": 289.4
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#321E69
secondary
#869E45
accent
#DF49B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321E69

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

Preview Lab → · Contrast checker → · Palette generator →

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