#321652#321652

#321652 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.104 H 301.2°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#321652
RGBrgb(50, 22, 82)
HSLhsl(268, 58%, 20%)
HSVhsv(268, 73%, 32%)
CMYKcmyk(39%, 73.2%, 0%, 67.8%)
CIE-LABlab(14.74, 27.67, -31.37)
CIE-LCHlch(14.74, 41.84, 311.41°)
OKLaboklab(27.71% 0.0541 -0.0893)
OKLCHoklch(27.71% 0.104 301.2)
XYZxyz(3.1249, 1.8611, 8.1756)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321652 #365216
analogous
#161852 #321652 #501652
triadic
#321652 #523216 #165232
tetradic
#321652 #521618 #365216 #165250
square
#321652 #521618 #365216 #165250
split-complementary
#321652 #525016 #185216
monochromatic
#0F0618 #150922 #321652 #4F2382 #6D30B3

Accessibility & contrast

On white

15.30
#321652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321652
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321652#FFFFFF#000000##FFFFFF
##3216521.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#2B2432
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321652;
/* rgb */ color: rgb(50, 22, 82);
/* oklch */ color: oklch(27.7% 0.104 301.2);
Tailwind
colors: {
  custom: {
    50: '#6d5583',
    500: '#321652',
    950: '#000000',
  },
}
SCSS
$custom: #321652;
$custom-light: #6d5583;
$custom-dark: #000000;
JSON
{
  "hex": "#321652",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 268,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27713,
    "c": 0.10442,
    "h": 301.2
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#321652
secondary
#65893A
accent
#E14799
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321652

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

Preview Lab → · Contrast checker → · Palette generator →

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