#322663#322663

#322663 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.9% C 0.103 H 288.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#322663
RGBrgb(50, 38, 99)
HSLhsl(252, 45%, 27%)
HSVhsv(252, 62%, 39%)
CMYKcmyk(49.5%, 61.6%, 0%, 61.2%)
CIE-LABlab(19.90, 22.85, -34.38)
CIE-LCHlch(19.90, 41.29, 303.61°)
OKLaboklab(31.9% 0.0322 -0.0981)
OKLCHoklch(31.9% 0.103 288.2)
XYZxyz(4.2600, 2.9650, 12.1498)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322663 #576326
analogous
#263963 #322663 #512663
triadic
#322663 #633226 #266332
tetradic
#322663 #632639 #576326 #266351
square
#322663 #632639 #576326 #266351
split-complementary
#322663 #635126 #396326
monochromatic
#0B0816 #1C1537 #322663 #48378F #604AB9

Accessibility & contrast

On white

13.18
#322663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#322663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322663
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322663#FFFFFF#000000##FFFFFF
##3226631.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#223440
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #322663;
/* rgb */ color: rgb(50, 38, 99);
/* oklch */ color: oklch(31.9% 0.103 288.2);
Tailwind
colors: {
  custom: {
    50: '#6e6190',
    500: '#322663',
    950: '#000000',
  },
}
SCSS
$custom: #322663;
$custom-light: #6e6190;
$custom-dark: #000000;
JSON
{
  "hex": "#322663",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 251.803,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.10329,
    "h": 288.2
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#322663
secondary
#88964F
accent
#D454BB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #322663

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

Preview Lab → · Contrast checker → · Palette generator →

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