#321076#321076

#321076 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.155 H 288.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#321076
RGBrgb(50, 16, 118)
HSLhsl(260, 76%, 26%)
HSVhsv(260, 86%, 46%)
CMYKcmyk(57.6%, 86.4%, 0%, 53.7%)
CIE-LABlab(17.26, 41.08, -51.07)
CIE-LCHlch(17.26, 65.54, 308.81°)
OKLaboklab(30.56% 0.0491 -0.147)
OKLCHoklch(30.56% 0.155 288.5)
XYZxyz(4.7697, 2.3565, 17.3395)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321076 #547610
analogous
#102176 #321076 #651076
triadic
#321076 #763210 #107632
tetradic
#321076 #761021 #547610 #107665
square
#321076 #761021 #547610 #107665
split-complementary
#321076 #766510 #217610
monochromatic
#0B041B #1B0940 #321076 #4917AC #6020E1

Accessibility & contrast

On white

14.27
#321076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321076
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321076#FFFFFF#000000##FFFFFF
##3210761.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#153045
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321076;
/* rgb */ color: rgb(50, 16, 118);
/* oklch */ color: oklch(30.6% 0.155 288.5);
Tailwind
colors: {
  custom: {
    50: '#73549f',
    500: '#321076',
    950: '#000000',
  },
}
SCSS
$custom: #321076;
$custom-light: #73549f;
$custom-dark: #000000;
JSON
{
  "hex": "#321076",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 260,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30563,
    "c": 0.15495,
    "h": 288.5
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#321076
secondary
#85AD35
accent
#F335B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #321076

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

Preview Lab → · Contrast checker → · Palette generator →

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