#321968#321968

#321968 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.129 H 291.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#321968
RGBrgb(50, 25, 104)
HSLhsl(259, 61%, 25%)
HSVhsv(259, 76%, 41%)
CMYKcmyk(51.9%, 76%, 0%, 59.2%)
CIE-LABlab(17.33, 32.54, -41.84)
CIE-LCHlch(17.33, 53.01, 307.87°)
OKLaboklab(30.18% 0.0465 -0.1201)
OKLCHoklch(30.18% 0.129 291.2)
XYZxyz(4.1610, 2.3727, 13.3327)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321968 #4F6819
analogous
#192868 #321968 #591968
triadic
#321968 #683219 #196832
tetradic
#321968 #681928 #4F6819 #196859
square
#321968 #681928 #4F6819 #196859
split-complementary
#321968 #685919 #286819
monochromatic
#0C0619 #1A0D37 #321968 #4A2599 #6131CB

Accessibility & contrast

On white

14.24
#321968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321968
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321968#FFFFFF#000000##FFFFFF
##3219681.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#202E3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321968;
/* rgb */ color: rgb(50, 25, 104);
/* oklch */ color: oklch(30.2% 0.129 291.2);
Tailwind
colors: {
  custom: {
    50: '#705894',
    500: '#321968',
    950: '#000000',
  },
}
SCSS
$custom: #321968;
$custom-light: #705894;
$custom-dark: #000000;
JSON
{
  "hex": "#321968",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 258.987,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30177,
    "c": 0.12875,
    "h": 291.2
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#321968
secondary
#809E3F
accent
#E443B1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321968

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

Preview Lab → · Contrast checker → · Palette generator →

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