#321046#321046

#321046 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.099 H 310.1°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#321046
RGBrgb(50, 16, 70)
HSLhsl(278, 63%, 17%)
HSVhsv(278, 77%, 27%)
CMYKcmyk(28.6%, 77.1%, 0%, 72.5%)
CIE-LABlab(12.55, 27.71, -26.64)
CIE-LCHlch(12.55, 38.44, 316.12°)
OKLaboklab(25.83% 0.0634 -0.0753)
OKLCHoklch(25.83% 0.099 310.1)
XYZxyz(2.6060, 1.4909, 5.9437)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321046 #244610
analogous
#171046 #321046 #46103F
triadic
#321046 #463210 #104632
tetradic
#321046 #461710 #244610 #103F46
square
#321046 #461710 #244610 #103F46
split-complementary
#321046 #3F4610 #104617
monochromatic
#120619 #120619 #321046 #561B78 #7927AA

Accessibility & contrast

On white

16.18
#321046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321046
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321046#FFFFFF#000000##FFFFFF
##3210461.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#072145
Tritanopia (blue-blind)
#2F1C29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321046;
/* rgb */ color: rgb(50, 16, 70);
/* oklch */ color: oklch(25.8% 0.099 310.1);
Tailwind
colors: {
  custom: {
    50: '#6c517a',
    500: '#321046',
    950: '#000000',
  },
}
SCSS
$custom: #321046;
$custom-light: #6c517a;
$custom-dark: #000000;
JSON
{
  "hex": "#321046",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 277.778,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25832,
    "c": 0.0985,
    "h": 310.1
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#321046
secondary
#4F8032
accent
#E6427F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321046

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

Preview Lab → · Contrast checker → · Palette generator →

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