#321565#321565

#321565 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.130 H 293.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#321565
RGBrgb(50, 21, 101)
HSLhsl(262, 66%, 24%)
HSVhsv(262, 79%, 40%)
CMYKcmyk(50.5%, 79.2%, 0%, 60.4%)
CIE-LABlab(16.27, 33.81, -41.60)
CIE-LCHlch(16.27, 53.61, 309.10°)
OKLaboklab(29.34% 0.0511 -0.1193)
OKLCHoklch(29.34% 0.13 293.2)
XYZxyz(3.9319, 2.1539, 12.5180)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321565 #486515
analogous
#152065 #321565 #5A1565
triadic
#321565 #653215 #156532
tetradic
#321565 #651520 #486515 #15655A
square
#321565 #651520 #486515 #15655A
split-complementary
#321565 #655A15 #206515
monochromatic
#0D0519 #190A32 #321565 #4B2098 #642ACA

Accessibility & contrast

On white

14.68
#321565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321565
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321565#FFFFFF#000000##FFFFFF
##3215651.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#222B3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321565;
/* rgb */ color: rgb(50, 21, 101);
/* oklch */ color: oklch(29.3% 0.130 293.2);
Tailwind
colors: {
  custom: {
    50: '#705692',
    500: '#321565',
    950: '#000000',
  },
}
SCSS
$custom: #321565;
$custom-light: #705692;
$custom-dark: #000000;
JSON
{
  "hex": "#321565",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 261.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29341,
    "c": 0.12981,
    "h": 293.2
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#321565
secondary
#789C3A
accent
#E93FAB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321565

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

Preview Lab → · Contrast checker → · Palette generator →

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