#322150#322150

#322150 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.083 H 297.8°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#322150
RGBrgb(50, 33, 80)
HSLhsl(262, 42%, 22%)
HSVhsv(262, 59%, 31%)
CMYKcmyk(37.5%, 58.8%, 0%, 68.6%)
CIE-LABlab(17.20, 20.11, -26.05)
CIE-LCHlch(17.20, 32.91, 307.67°)
OKLaboklab(29.46% 0.0388 -0.0737)
OKLCHoklch(29.46% 0.083 297.8)
XYZxyz(3.3069, 2.3450, 7.8663)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322150 #3F5021
analogous
#212850 #322150 #4A2150
triadic
#322150 #503221 #215032
tetradic
#322150 #502128 #3F5021 #21504A
square
#322150 #502128 #3F5021 #21504A
split-complementary
#322150 #504A21 #285021
monochromatic
#0E0916 #170F25 #322150 #4D337B #6845A7

Accessibility & contrast

On white

14.30
#322150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#322150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322150
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322150#FFFFFF#000000##FFFFFF
##3221501.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A52
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#2B2A35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #322150;
/* rgb */ color: rgb(50, 33, 80);
/* oklch */ color: oklch(29.5% 0.083 297.8);
Tailwind
colors: {
  custom: {
    50: '#6c5d81',
    500: '#322150',
    950: '#000000',
  },
}
SCSS
$custom: #322150;
$custom-light: #6c5d81;
$custom-dark: #000000;
JSON
{
  "hex": "#322150",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 261.702,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2946,
    "c": 0.08327,
    "h": 297.8
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#322150
secondary
#6F8449
accent
#D156A5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #322150

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

Preview Lab → · Contrast checker → · Palette generator →

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