#321050#321050

#321050 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.110 H 303.9°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#321050
RGBrgb(50, 16, 80)
HSLhsl(272, 67%, 19%)
HSVhsv(272, 80%, 31%)
CMYKcmyk(37.5%, 80%, 0%, 68.6%)
CIE-LABlab(13.40, 30.38, -32.19)
CIE-LCHlch(13.40, 44.26, 313.35°)
OKLaboklab(26.7% 0.0616 -0.0916)
OKLCHoklch(26.7% 0.11 303.9)
XYZxyz(2.9483, 1.6279, 7.7467)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321050 #2E5010
analogous
#121050 #321050 #50104E
triadic
#321050 #503210 #105032
tetradic
#321050 #501210 #2E5010 #104E50
square
#321050 #501210 #2E5010 #104E50
split-complementary
#321050 #4E5010 #105012
monochromatic
#10051A #12061D #321050 #521A83 #7224B6

Accessibility & contrast

On white

15.84
#321050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321050
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321050#FFFFFF#000000##FFFFFF
##3210501.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#2C202F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321050;
/* rgb */ color: rgb(50, 16, 80);
/* oklch */ color: oklch(26.7% 0.110 303.9);
Tailwind
colors: {
  custom: {
    50: '#6d5282',
    500: '#321050',
    950: '#000000',
  },
}
SCSS
$custom: #321050;
$custom-light: #6d5282;
$custom-dark: #000000;
JSON
{
  "hex": "#321050",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 271.875,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.11044,
    "h": 303.9
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#321050
secondary
#5B8A32
accent
#EA3E8F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #321050

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

Preview Lab → · Contrast checker → · Palette generator →

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