#322163#322163

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

Color values

HEX#322163
RGBrgb(50, 33, 99)
HSLhsl(255, 50%, 26%)
HSVhsv(255, 67%, 39%)
CMYKcmyk(49.5%, 66.7%, 0%, 61.2%)
CIE-LABlab(18.66, 26.13, -36.40)
CIE-LCHlch(18.66, 44.81, 305.67°)
OKLaboklab(30.99% 0.0384 -0.1041)
OKLCHoklch(30.99% 0.111 290.3)
XYZxyz(4.1107, 2.6665, 12.1001)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322163 #526321
analogous
#213163 #322163 #532163
triadic
#322163 #633221 #216332
tetradic
#322163 #632131 #526321 #216353
square
#322163 #632131 #526321 #216353
split-complementary
#322163 #635321 #316321
monochromatic
#0C0817 #1B1235 #322163 #493091 #6040BF

Accessibility & contrast

On white

13.70
#322163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#322163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322163
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322163#FFFFFF#000000##FFFFFF
##3221631.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#23303E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #322163;
/* rgb */ color: rgb(50, 33, 99);
/* oklch */ color: oklch(31.0% 0.111 290.3);
Tailwind
colors: {
  custom: {
    50: '#6f5d90',
    500: '#322163',
    950: '#000000',
  },
}
SCSS
$custom: #322163;
$custom-light: #6f5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#322163",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 255.455,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.11097,
    "h": 290.3
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#322163
secondary
#839749
accent
#DA4EB6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #322163

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

Preview Lab → · Contrast checker → · Palette generator →

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