#321146#321146

#321146 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.097 H 309.9°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#321146
RGBrgb(50, 17, 70)
HSLhsl(277, 61%, 17%)
HSVhsv(277, 76%, 27%)
CMYKcmyk(28.6%, 75.7%, 0%, 72.5%)
CIE-LABlab(12.74, 27.17, -26.33)
CIE-LCHlch(12.74, 37.84, 315.90°)
OKLaboklab(25.97% 0.0621 -0.0744)
OKLCHoklch(25.97% 0.097 309.9)
XYZxyz(2.6211, 1.5213, 5.9487)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321146 #254611
analogous
#171146 #321146 #461140
triadic
#321146 #463211 #114632
tetradic
#321146 #461711 #254611 #114046
square
#321146 #461711 #254611 #114046
split-complementary
#321146 #404611 #114617
monochromatic
#120619 #120619 #321146 #551D77 #7829A8

Accessibility & contrast

On white

16.10
#321146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#321146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321146
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321146#FFFFFF#000000##FFFFFF
##3211461.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#082245
Tritanopia (blue-blind)
#2F1C29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321146;
/* rgb */ color: rgb(50, 17, 70);
/* oklch */ color: oklch(26.0% 0.097 309.9);
Tailwind
colors: {
  custom: {
    50: '#6c527a',
    500: '#321146',
    950: '#000000',
  },
}
SCSS
$custom: #321146;
$custom-light: #6c527a;
$custom-dark: #000000;
JSON
{
  "hex": "#321146",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 277.358,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2597,
    "c": 0.09698,
    "h": 309.9
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#321146
secondary
#508033
accent
#E44480
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321146

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

Preview Lab → · Contrast checker → · Palette generator →

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