#321349#321349

#321349 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.098 H 307.3°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#321349
RGBrgb(50, 19, 73)
HSLhsl(274, 59%, 18%)
HSVhsv(274, 74%, 29%)
CMYKcmyk(31.5%, 74%, 0%, 71.4%)
CIE-LABlab(13.38, 26.87, -27.39)
CIE-LCHlch(13.38, 38.37, 314.45°)
OKLaboklab(26.5% 0.0592 -0.0776)
OKLCHoklch(26.5% 0.098 307.3)
XYZxyz(2.7506, 1.6249, 6.4708)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321349 #2A4913
analogous
#171349 #321349 #491345
triadic
#321349 #493213 #134932
tetradic
#321349 #491713 #2A4913 #134549
square
#321349 #491713 #2A4913 #134549
split-complementary
#321349 #454913 #134917
monochromatic
#110618 #110618 #321349 #53207A #752CAA

Accessibility & contrast

On white

15.85
#321349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321349
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321349#FFFFFF#000000##FFFFFF
##3213491.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#072348
Tritanopia (blue-blind)
#2E1F2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321349;
/* rgb */ color: rgb(50, 19, 73);
/* oklch */ color: oklch(26.5% 0.098 307.3);
Tailwind
colors: {
  custom: {
    50: '#6c537c',
    500: '#321349',
    950: '#000000',
  },
}
SCSS
$custom: #321349;
$custom-light: #6c537c;
$custom-dark: #000000;
JSON
{
  "hex": "#321349",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 274.444,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26504,
    "c": 0.09755,
    "h": 307.3
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#321349
secondary
#568236
accent
#E24688
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #321349

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

Preview Lab → · Contrast checker → · Palette generator →

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