#321E67#321E67

#321E67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.8% C 0.121 H 290.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#321E67
RGBrgb(50, 30, 103)
HSLhsl(256, 55%, 26%)
HSVhsv(256, 71%, 40%)
CMYKcmyk(51.5%, 70.9%, 0%, 59.6%)
CIE-LABlab(18.30, 29.29, -39.61)
CIE-LCHlch(18.30, 49.26, 306.49°)
OKLaboklab(30.84% 0.0414 -0.1135)
OKLCHoklch(30.84% 0.121 290)
XYZxyz(4.2271, 2.5858, 13.1057)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E67 #53671E
analogous
#1E2E67 #321E67 #561E67
triadic
#321E67 #67321E #1E6732
tetradic
#321E67 #671E2E #53671E #1E6756
square
#321E67 #671E2E #53671E #1E6756
split-complementary
#321E67 #67561E #2E671E
monochromatic
#0C0718 #1B1038 #321E67 #492C96 #603AC6

Accessibility & contrast

On white

13.84
#321E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#321E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E67
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E67#FFFFFF#000000##FFFFFF
##321E671.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#20303F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #321e67;
/* rgb */ color: rgb(50, 30, 103);
/* oklch */ color: oklch(30.8% 0.121 290.0);
Tailwind
colors: {
  custom: {
    50: '#6f5b93',
    500: '#321e67',
    950: '#000000',
  },
}
SCSS
$custom: #321e67;
$custom-light: #6f5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#321e67",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 256.438,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30841,
    "c": 0.12083,
    "h": 290
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#321E67
secondary
#849C45
accent
#DE4AB6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321E67

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

Preview Lab → · Contrast checker → · Palette generator →

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