#321164#321164

#321164 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.133 H 294.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#321164
RGBrgb(50, 17, 100)
HSLhsl(264, 71%, 23%)
HSVhsv(264, 83%, 39%)
CMYKcmyk(50%, 83%, 0%, 60.8%)
CIE-LABlab(15.48, 35.50, -42.24)
CIE-LCHlch(15.48, 55.18, 310.05°)
OKLaboklab(28.76% 0.055 -0.1212)
OKLCHoklch(28.76% 0.133 294.4)
XYZxyz(3.8155, 1.9990, 12.2389)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321164 #436411
analogous
#111A64 #321164 #5B1164
triadic
#321164 #643211 #116432
tetradic
#321164 #64111A #436411 #11645B
square
#321164 #64111A #436411 #11645B
split-complementary
#321164 #645B11 #1A6411
monochromatic
#0D041A #180830 #321164 #4C1A98 #6623CD

Accessibility & contrast

On white

15.00
#321164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321164
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321164#FFFFFF#000000##FFFFFF
##3211641.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#23283A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321164;
/* rgb */ color: rgb(50, 17, 100);
/* oklch */ color: oklch(28.8% 0.133 294.4);
Tailwind
colors: {
  custom: {
    50: '#705491',
    500: '#321164',
    950: '#000000',
  },
}
SCSS
$custom: #321164;
$custom-light: #705491;
$custom-dark: #000000;
JSON
{
  "hex": "#321164",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 263.855,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.13305,
    "h": 294.4
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#321164
secondary
#739C35
accent
#EE3AA6
background
#F7F4F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321164

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

Preview Lab → · Contrast checker → · Palette generator →

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