#321950#321950

#321950 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.0% C 0.097 H 301.3°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#321950
RGBrgb(50, 25, 80)
HSLhsl(267, 52%, 21%)
HSVhsv(267, 69%, 31%)
CMYKcmyk(37.5%, 68.8%, 0%, 68.6%)
CIE-LABlab(15.24, 25.30, -29.21)
CIE-LCHlch(15.24, 38.64, 310.89°)
OKLaboklab(28.02% 0.0504 -0.0829)
OKLCHoklch(28.02% 0.097 301.3)
XYZxyz(3.1106, 1.9525, 7.8009)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321950 #375019
analogous
#191B50 #321950 #4D1950
triadic
#321950 #503219 #195032
tetradic
#321950 #50191B #375019 #19504D
square
#321950 #50191B #375019 #19504D
split-complementary
#321950 #504D19 #1B5019
monochromatic
#0F0717 #150A21 #321950 #4F287F #6C36AD

Accessibility & contrast

On white

15.10
#321950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321950
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321950#FFFFFF#000000##FFFFFF
##3219501.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#06264F
Tritanopia (blue-blind)
#2C2531
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321950;
/* rgb */ color: rgb(50, 25, 80);
/* oklch */ color: oklch(28.0% 0.097 301.3);
Tailwind
colors: {
  custom: {
    50: '#6d5781',
    500: '#321950',
    950: '#000000',
  },
}
SCSS
$custom: #321950;
$custom-light: #6d5781;
$custom-dark: #000000;
JSON
{
  "hex": "#321950",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 267.273,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28019,
    "c": 0.09705,
    "h": 301.3
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#321950
secondary
#66863E
accent
#DC4C9A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #321950

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

Preview Lab → · Contrast checker → · Palette generator →

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