#321066#321066

#321066 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.136 H 293.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#321066
RGBrgb(50, 16, 102)
HSLhsl(264, 73%, 23%)
HSVhsv(264, 84%, 40%)
CMYKcmyk(51%, 84.3%, 0%, 60%)
CIE-LABlab(15.53, 36.53, -43.49)
CIE-LCHlch(15.53, 56.80, 310.03°)
OKLaboklab(28.85% 0.0551 -0.1248)
OKLCHoklch(28.85% 0.136 293.8)
XYZxyz(3.8983, 2.0079, 12.7500)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321066 #446610
analogous
#101966 #321066 #5D1066
triadic
#321066 #663210 #106632
tetradic
#321066 #661019 #446610 #10665D
square
#321066 #661019 #446610 #10665D
split-complementary
#321066 #665D10 #196610
monochromatic
#0D041A #180831 #321066 #4C189B #6621D0

Accessibility & contrast

On white

14.98
#321066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321066
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321066#FFFFFF#000000##FFFFFF
##3210661.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#22293B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321066;
/* rgb */ color: rgb(50, 16, 102);
/* oklch */ color: oklch(28.8% 0.136 293.8);
Tailwind
colors: {
  custom: {
    50: '#715393',
    500: '#321066',
    950: '#000000',
  },
}
SCSS
$custom: #321066;
$custom-light: #715393;
$custom-dark: #000000;
JSON
{
  "hex": "#321066",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 263.721,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.13643,
    "h": 293.8
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#321066
secondary
#749E33
accent
#F038A7
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321066

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

Preview Lab → · Contrast checker → · Palette generator →

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