#321964#321964

#321964 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.124 H 292.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#321964
RGBrgb(50, 25, 100)
HSLhsl(260, 60%, 25%)
HSVhsv(260, 75%, 39%)
CMYKcmyk(50%, 75%, 0%, 60.8%)
CIE-LABlab(16.96, 31.32, -39.83)
CIE-LCHlch(16.96, 50.67, 308.18°)
OKLaboklab(29.79% 0.0474 -0.1141)
OKLCHoklch(29.79% 0.124 292.5)
XYZxyz(3.9626, 2.2933, 12.2880)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321964 #4B6419
analogous
#192664 #321964 #581964
triadic
#321964 #643219 #196432
tetradic
#321964 #641926 #4B6419 #196458
square
#321964 #641926 #4B6419 #196458
split-complementary
#321964 #645819 #266419
monochromatic
#0C0618 #1A0D33 #321964 #4A2595 #6331C6

Accessibility & contrast

On white

14.40
#321964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#321964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321964
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321964#FFFFFF#000000##FFFFFF
##3219641.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#232C3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321964;
/* rgb */ color: rgb(50, 25, 100);
/* oklch */ color: oklch(29.8% 0.124 292.5);
Tailwind
colors: {
  custom: {
    50: '#6f5891',
    500: '#321964',
    950: '#000000',
  },
}
SCSS
$custom: #321964;
$custom-light: #6f5891;
$custom-dark: #000000;
JSON
{
  "hex": "#321964",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.12359,
    "h": 292.5
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#321964
secondary
#7C9A3F
accent
#E345AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321964

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

Preview Lab → · Contrast checker → · Palette generator →

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