#321667#321667

#321667 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.131 H 292.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#321667
RGBrgb(50, 22, 103)
HSLhsl(261, 65%, 25%)
HSVhsv(261, 79%, 40%)
CMYKcmyk(51.5%, 78.6%, 0%, 59.6%)
CIE-LABlab(16.66, 33.88, -42.30)
CIE-LCHlch(16.66, 54.19, 308.69°)
OKLaboklab(29.67% 0.0496 -0.1214)
OKLCHoklch(29.67% 0.131 292.2)
XYZxyz(4.0498, 2.2311, 13.0466)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321667 #4B6716
analogous
#162267 #321667 #5B1667
triadic
#321667 #673216 #166732
tetradic
#321667 #671622 #4B6716 #16675B
square
#321667 #671622 #4B6716 #16675B
split-complementary
#321667 #675B16 #226716
monochromatic
#0C0519 #1A0B35 #321667 #4A2199 #632CCC

Accessibility & contrast

On white

14.52
#321667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#321667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321667
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321667#FFFFFF#000000##FFFFFF
##3216671.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#212C3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321667;
/* rgb */ color: rgb(50, 22, 103);
/* oklch */ color: oklch(29.7% 0.131 292.2);
Tailwind
colors: {
  custom: {
    50: '#705693',
    500: '#321667',
    950: '#000000',
  },
}
SCSS
$custom: #321667;
$custom-light: #705693;
$custom-dark: #000000;
JSON
{
  "hex": "#321667",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 260.741,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29669,
    "c": 0.13111,
    "h": 292.2
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#321667
secondary
#7C9E3B
accent
#E840AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321667

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

Preview Lab → · Contrast checker → · Palette generator →

#321667 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva