#321049#321049

#321049 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.102 H 308.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#321049
RGBrgb(50, 16, 73)
HSLhsl(276, 64%, 17%)
HSVhsv(276, 78%, 29%)
CMYKcmyk(31.5%, 78.1%, 0%, 71.4%)
CIE-LABlab(12.80, 28.50, -28.34)
CIE-LCHlch(12.80, 40.19, 315.16°)
OKLaboklab(26.09% 0.063 -0.0803)
OKLCHoklch(26.09% 0.102 308.1)
XYZxyz(2.7030, 1.5298, 6.4549)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321049 #274910
analogous
#151049 #321049 #491044
triadic
#321049 #493210 #104932
tetradic
#321049 #491510 #274910 #104449
square
#321049 #491510 #274910 #104449
split-complementary
#321049 #444910 #104915
monochromatic
#110619 #110619 #321049 #541B7B #7726AD

Accessibility & contrast

On white

16.08
#321049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321049
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321049#FFFFFF#000000##FFFFFF
##3210491.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321049;
/* rgb */ color: rgb(50, 16, 73);
/* oklch */ color: oklch(26.1% 0.102 308.1);
Tailwind
colors: {
  custom: {
    50: '#6d517c',
    500: '#321049',
    950: '#000000',
  },
}
SCSS
$custom: #321049;
$custom-light: #6d517c;
$custom-dark: #000000;
JSON
{
  "hex": "#321049",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 275.789,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26086,
    "c": 0.10208,
    "h": 308.1
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#321049
secondary
#538332
accent
#E74184
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #321049

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

Preview Lab → · Contrast checker → · Palette generator →

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