#322264#322264

#322264 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.111 H 289.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#322264
RGBrgb(50, 34, 100)
HSLhsl(255, 49%, 26%)
HSVhsv(255, 66%, 39%)
CMYKcmyk(50%, 66%, 0%, 60.8%)
CIE-LABlab(18.98, 25.81, -36.54)
CIE-LCHlch(18.98, 44.73, 305.24°)
OKLaboklab(31.25% 0.0371 -0.1045)
OKLCHoklch(31.25% 0.111 289.6)
XYZxyz(4.1870, 2.7421, 12.3628)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322264 #546422
analogous
#223364 #322264 #532264
triadic
#322264 #643222 #226432
tetradic
#322264 #642233 #546422 #226453
square
#322264 #642233 #546422 #226453
split-complementary
#322264 #645322 #336422
monochromatic
#0B0817 #1B1236 #322264 #493292 #6042BF

Accessibility & contrast

On white

13.56
#322264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#322264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322264
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322264#FFFFFF#000000##FFFFFF
##3222641.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#22313F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322264;
/* rgb */ color: rgb(50, 34, 100);
/* oklch */ color: oklch(31.3% 0.111 289.6);
Tailwind
colors: {
  custom: {
    50: '#6f5e91',
    500: '#322264',
    950: '#000000',
  },
}
SCSS
$custom: #322264;
$custom-light: #6f5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#322264",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 254.545,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.11089,
    "h": 289.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#322264
secondary
#85984A
accent
#D94FB7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #322264

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

Preview Lab → · Contrast checker → · Palette generator →

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