#321466#321466

#321466 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.132 H 293.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#321466
RGBrgb(50, 20, 102)
HSLhsl(262, 67%, 24%)
HSVhsv(262, 80%, 40%)
CMYKcmyk(51%, 80.4%, 0%, 60%)
CIE-LABlab(16.19, 34.62, -42.40)
CIE-LCHlch(16.19, 54.73, 309.23°)
OKLaboklab(29.31% 0.0517 -0.1216)
OKLCHoklch(29.31% 0.132 293)
XYZxyz(3.9632, 2.1376, 12.7716)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321466 #486614
analogous
#141F66 #321466 #5B1466
triadic
#321466 #663214 #146632
tetradic
#321466 #66141F #486614 #14665B
square
#321466 #66141F #486614 #14665B
split-complementary
#321466 #665B14 #1F6614
monochromatic
#0D051A #190A33 #321466 #4B1E99 #6428CC

Accessibility & contrast

On white

14.71
#321466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#321466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321466
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321466#FFFFFF#000000##FFFFFF
##3214661.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#222A3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321466;
/* rgb */ color: rgb(50, 20, 102);
/* oklch */ color: oklch(29.3% 0.132 293.0);
Tailwind
colors: {
  custom: {
    50: '#705592',
    500: '#321466',
    950: '#000000',
  },
}
SCSS
$custom: #321466;
$custom-light: #705592;
$custom-dark: #000000;
JSON
{
  "hex": "#321466",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 261.951,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29314,
    "c": 0.13219,
    "h": 293
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#321466
secondary
#789D39
accent
#EA3EAB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321466

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

Preview Lab → · Contrast checker → · Palette generator →

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