#321564#321564

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

Color values

HEX#321564
RGBrgb(50, 21, 100)
HSLhsl(262, 65%, 24%)
HSVhsv(262, 79%, 39%)
CMYKcmyk(50%, 79%, 0%, 60.8%)
CIE-LABlab(16.18, 33.51, -41.10)
CIE-LCHlch(16.18, 53.03, 309.19°)
OKLaboklab(29.24% 0.0514 -0.1179)
OKLCHoklch(29.24% 0.129 293.6)
XYZxyz(3.8832, 2.1344, 12.2615)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321564 #476415
analogous
#151F64 #321564 #591564
triadic
#321564 #643215 #156432
tetradic
#321564 #64151F #476415 #156459
square
#321564 #64151F #476415 #156459
split-complementary
#321564 #645915 #1F6415
monochromatic
#0D0519 #190A31 #321564 #4B2097 #652AC9

Accessibility & contrast

On white

14.72
#321564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321564
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321564#FFFFFF#000000##FFFFFF
##3215641.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#232A3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321564;
/* rgb */ color: rgb(50, 21, 100);
/* oklch */ color: oklch(29.2% 0.129 293.6);
Tailwind
colors: {
  custom: {
    50: '#705691',
    500: '#321564',
    950: '#000000',
  },
}
SCSS
$custom: #321564;
$custom-light: #705691;
$custom-dark: #000000;
JSON
{
  "hex": "#321564",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 262.025,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29243,
    "c": 0.12857,
    "h": 293.6
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#321564
secondary
#779B3A
accent
#E840AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321564

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

Preview Lab → · Contrast checker → · Palette generator →

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