#321952#321952

#321952 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.2% C 0.100 H 300.2°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#321952
RGBrgb(50, 25, 82)
HSLhsl(266, 53%, 21%)
HSVhsv(266, 70%, 32%)
CMYKcmyk(39%, 69.5%, 0%, 67.8%)
CIE-LABlab(15.40, 25.88, -30.32)
CIE-LCHlch(15.40, 39.86, 310.49°)
OKLaboklab(28.19% 0.0502 -0.0862)
OKLCHoklch(28.19% 0.1 300.2)
XYZxyz(3.1856, 1.9825, 8.1958)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321952 #395219
analogous
#191C52 #321952 #4E1952
triadic
#321952 #523219 #195232
tetradic
#321952 #52191C #395219 #19524E
square
#321952 #52191C #395219 #19524E
split-complementary
#321952 #524E19 #1C5219
monochromatic
#0E0717 #150B23 #321952 #4F2781 #6B36B0

Accessibility & contrast

On white

15.04
#321952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321952
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321952#FFFFFF#000000##FFFFFF
##3219521.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#032651
Tritanopia (blue-blind)
#2B2633
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321952;
/* rgb */ color: rgb(50, 25, 82);
/* oklch */ color: oklch(28.2% 0.100 300.2);
Tailwind
colors: {
  custom: {
    50: '#6d5783',
    500: '#321952',
    950: '#000000',
  },
}
SCSS
$custom: #321952;
$custom-light: #6d5783;
$custom-dark: #000000;
JSON
{
  "hex": "#321952",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 266.316,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28185,
    "c": 0.09975,
    "h": 300.2
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#321952
secondary
#68883E
accent
#DD4B9D
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #321952

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

Preview Lab → · Contrast checker → · Palette generator →

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