#321060#321060

#321060 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.129 H 296.2°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#321060
RGBrgb(50, 16, 96)
HSLhsl(266, 71%, 22%)
HSVhsv(266, 83%, 38%)
CMYKcmyk(47.9%, 83.3%, 0%, 62.4%)
CIE-LABlab(14.92, 34.83, -40.52)
CIE-LCHlch(14.92, 53.43, 310.69°)
OKLaboklab(28.24% 0.0571 -0.1161)
OKLCHoklch(28.24% 0.129 296.2)
XYZxyz(3.6114, 1.8931, 11.2392)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321060 #3E6010
analogous
#101660 #321060 #5A1060
triadic
#321060 #603210 #106032
tetradic
#321060 #601016 #3E6010 #10605A
square
#321060 #601016 #3E6010 #10605A
split-complementary
#321060 #605A10 #166010
monochromatic
#0E041A #17072C #321060 #4D1994 #6921C9

Accessibility & contrast

On white

15.23
#321060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321060
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321060#FFFFFF#000000##FFFFFF
##3210601.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#252638
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321060;
/* rgb */ color: rgb(50, 16, 96);
/* oklch */ color: oklch(28.2% 0.129 296.2);
Tailwind
colors: {
  custom: {
    50: '#70538e',
    500: '#321060',
    950: '#000000',
  },
}
SCSS
$custom: #321060;
$custom-light: #70538e;
$custom-dark: #000000;
JSON
{
  "hex": "#321060",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 265.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28238,
    "c": 0.1294,
    "h": 296.2
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#321060
secondary
#6E9933
accent
#EE3AA1
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #321060

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

Preview Lab → · Contrast checker → · Palette generator →

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