#321366#321366

#321366 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.133 H 293.2°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#321366
RGBrgb(50, 19, 102)
HSLhsl(262, 69%, 24%)
HSVhsv(262, 81%, 40%)
CMYKcmyk(51%, 81.4%, 0%, 60%)
CIE-LABlab(16.02, 35.12, -42.68)
CIE-LCHlch(16.02, 55.27, 309.45°)
OKLaboklab(29.19% 0.0526 -0.1225)
OKLCHoklch(29.19% 0.133 293.2)
XYZxyz(3.9459, 2.1030, 12.7658)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321366 #476613
analogous
#131D66 #321366 #5B1366
triadic
#321366 #663213 #136632
tetradic
#321366 #66131D #476613 #13665B
square
#321366 #66131D #476613 #13665B
split-complementary
#321366 #665B13 #1D6613
monochromatic
#0D051A #190932 #321366 #4B1D9A #6526CD

Accessibility & contrast

On white

14.78
#321366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321366
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321366#FFFFFF#000000##FFFFFF
##3213661.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321366;
/* rgb */ color: rgb(50, 19, 102);
/* oklch */ color: oklch(29.2% 0.133 293.2);
Tailwind
colors: {
  custom: {
    50: '#705592',
    500: '#321366',
    950: '#000000',
  },
}
SCSS
$custom: #321366;
$custom-light: #705592;
$custom-dark: #000000;
JSON
{
  "hex": "#321366",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 262.41,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29192,
    "c": 0.1333,
    "h": 293.2
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#321366
secondary
#779D37
accent
#EB3CAA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321366

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

Preview Lab → · Contrast checker → · Palette generator →

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