#321169#321169

#321169 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.139 H 292.5°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#321169
RGBrgb(50, 17, 105)
HSLhsl(263, 72%, 24%)
HSVhsv(263, 84%, 41%)
CMYKcmyk(52.4%, 83.8%, 0%, 58.8%)
CIE-LABlab(16.00, 36.93, -44.69)
CIE-LCHlch(16.00, 57.98, 309.57°)
OKLaboklab(29.27% 0.0533 -0.1283)
OKLCHoklch(29.27% 0.139 292.5)
XYZxyz(4.0649, 2.0988, 13.5528)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321169 #486911
analogous
#111C69 #321169 #5E1169
triadic
#321169 #693211 #116932
tetradic
#321169 #69111C #486911 #11695E
square
#321169 #69111C #486911 #11695E
split-complementary
#321169 #695E11 #1C6911
monochromatic
#0D041A #190834 #321169 #4B1A9E #6422D2

Accessibility & contrast

On white

14.79
#321169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321169
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321169#FFFFFF#000000##FFFFFF
##3211691.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#202A3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321169;
/* rgb */ color: rgb(50, 17, 105);
/* oklch */ color: oklch(29.3% 0.139 292.5);
Tailwind
colors: {
  custom: {
    50: '#715495',
    500: '#321169',
    950: '#000000',
  },
}
SCSS
$custom: #321169;
$custom-light: #715495;
$custom-dark: #000000;
JSON
{
  "hex": "#321169",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 105
  },
  "hsl": {
    "h": 262.5,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29271,
    "c": 0.13895,
    "h": 292.5
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#321169
secondary
#78A135
accent
#EF39AB
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321169

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

Preview Lab → · Contrast checker → · Palette generator →

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