#321568#321568

#321568 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.134 H 292.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#321568
RGBrgb(50, 21, 104)
HSLhsl(261, 66%, 25%)
HSVhsv(261, 80%, 41%)
CMYKcmyk(51.9%, 79.8%, 0%, 59.2%)
CIE-LABlab(16.57, 34.70, -43.09)
CIE-LCHlch(16.57, 55.32, 308.84°)
OKLaboklab(29.64% 0.0502 -0.1237)
OKLCHoklch(29.64% 0.134 292.1)
XYZxyz(4.0815, 2.2138, 13.3063)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321568 #4B6815
analogous
#152268 #321568 #5C1568
triadic
#321568 #683215 #156832
tetradic
#321568 #681522 #4B6815 #15685C
square
#321568 #681522 #4B6815 #15685C
split-complementary
#321568 #685C15 #226815
monochromatic
#0C0519 #1A0B35 #321568 #4A1F9B #632ACE

Accessibility & contrast

On white

14.56
#321568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321568
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321568#FFFFFF#000000##FFFFFF
##3215681.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#202C3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321568;
/* rgb */ color: rgb(50, 21, 104);
/* oklch */ color: oklch(29.6% 0.134 292.1);
Tailwind
colors: {
  custom: {
    50: '#705694',
    500: '#321568',
    950: '#000000',
  },
}
SCSS
$custom: #321568;
$custom-light: #705694;
$custom-dark: #000000;
JSON
{
  "hex": "#321568",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 260.964,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2964,
    "c": 0.13351,
    "h": 292.1
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#321568
secondary
#7C9F3A
accent
#E93EAE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321568

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

Preview Lab → · Contrast checker → · Palette generator →

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