#322366#322366

#322366 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.112 H 288.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#322366
RGBrgb(50, 35, 102)
HSLhsl(253, 49%, 27%)
HSVhsv(253, 66%, 40%)
CMYKcmyk(51%, 65.7%, 0%, 60%)
CIE-LABlab(19.39, 25.82, -37.19)
CIE-LCHlch(19.39, 45.27, 304.77°)
OKLaboklab(31.6% 0.0358 -0.1064)
OKLCHoklch(31.6% 0.112 288.6)
XYZxyz(4.3140, 2.8393, 12.8885)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322366 #576623
analogous
#233666 #322366 #542366
triadic
#322366 #663223 #236632
tetradic
#322366 #662336 #576623 #236654
square
#322366 #662336 #576623 #236654
split-complementary
#322366 #665423 #366623
monochromatic
#0B0817 #1C1338 #322366 #483394 #6044BF

Accessibility & contrast

On white

13.39
#322366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#322366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322366
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322366#FFFFFF#000000##FFFFFF
##3223661.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#213341
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #322366;
/* rgb */ color: rgb(50, 35, 102);
/* oklch */ color: oklch(31.6% 0.112 288.6);
Tailwind
colors: {
  custom: {
    50: '#6f5e92',
    500: '#322366',
    950: '#000000',
  },
}
SCSS
$custom: #322366;
$custom-light: #6f5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#322366",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 253.433,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31601,
    "c": 0.11225,
    "h": 288.6
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#322366
secondary
#889A4B
accent
#D84FBA
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #322366

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

Preview Lab → · Contrast checker → · Palette generator →

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