#321149#321149

#321149 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.101 H 307.9°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#321149
RGBrgb(50, 17, 73)
HSLhsl(275, 62%, 18%)
HSVhsv(275, 77%, 29%)
CMYKcmyk(31.5%, 76.7%, 0%, 71.4%)
CIE-LABlab(12.99, 27.97, -28.03)
CIE-LCHlch(12.99, 39.60, 314.94°)
OKLaboklab(26.22% 0.0618 -0.0794)
OKLCHoklch(26.22% 0.101 307.9)
XYZxyz(2.7182, 1.5601, 6.4600)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321149 #284911
analogous
#161149 #321149 #491144
triadic
#321149 #493211 #114932
tetradic
#321149 #491611 #284911 #114449
square
#321149 #491611 #284911 #114449
split-complementary
#321149 #444911 #114916
monochromatic
#110619 #110619 #321149 #541D7B #7628AC

Accessibility & contrast

On white

16.01
#321149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#321149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321149
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321149#FFFFFF#000000##FFFFFF
##3211491.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#042248
Tritanopia (blue-blind)
#2E1D2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321149;
/* rgb */ color: rgb(50, 17, 73);
/* oklch */ color: oklch(26.2% 0.101 307.9);
Tailwind
colors: {
  custom: {
    50: '#6d527c',
    500: '#321149',
    950: '#000000',
  },
}
SCSS
$custom: #321149;
$custom-light: #6d527c;
$custom-dark: #000000;
JSON
{
  "hex": "#321149",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 275.357,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2622,
    "c": 0.10061,
    "h": 307.9
  },
  "luminance": 0.0156
}

Semantic roles & 50–950 ramp

primary
#321149
secondary
#548233
accent
#E54385
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #321149

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

Preview Lab → · Contrast checker → · Palette generator →

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