#321567#321567

#321567 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.132 H 292.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#321567
RGBrgb(50, 21, 103)
HSLhsl(261, 66%, 24%)
HSVhsv(261, 80%, 40%)
CMYKcmyk(51.5%, 79.6%, 0%, 59.6%)
CIE-LABlab(16.47, 34.40, -42.60)
CIE-LCHlch(16.47, 54.75, 308.92°)
OKLaboklab(29.54% 0.0505 -0.1222)
OKLCHoklch(29.54% 0.132 292.5)
XYZxyz(4.0311, 2.1936, 13.0403)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321567 #4A6715
analogous
#152167 #321567 #5B1567
triadic
#321567 #673215 #156732
tetradic
#321567 #671521 #4A6715 #15675B
square
#321567 #671521 #4A6715 #15675B
split-complementary
#321567 #675B15 #216715
monochromatic
#0C0519 #190B34 #321567 #4B1F9A #632ACD

Accessibility & contrast

On white

14.60
#321567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321567
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321567#FFFFFF#000000##FFFFFF
##3215671.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321567;
/* rgb */ color: rgb(50, 21, 103);
/* oklch */ color: oklch(29.5% 0.132 292.5);
Tailwind
colors: {
  custom: {
    50: '#705693',
    500: '#321567',
    950: '#000000',
  },
}
SCSS
$custom: #321567;
$custom-light: #705693;
$custom-dark: #000000;
JSON
{
  "hex": "#321567",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 261.22,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2954,
    "c": 0.13228,
    "h": 292.5
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#321567
secondary
#7B9E3A
accent
#E93FAD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321567

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

Preview Lab → · Contrast checker → · Palette generator →

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