#321962#321962

#321962 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.6% C 0.121 H 293.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#321962
RGBrgb(50, 25, 98)
HSLhsl(261, 59%, 24%)
HSVhsv(261, 74%, 38%)
CMYKcmyk(49%, 74.5%, 0%, 61.6%)
CIE-LABlab(16.77, 30.71, -38.81)
CIE-LCHlch(16.77, 49.49, 308.35°)
OKLaboklab(29.61% 0.0478 -0.1111)
OKLCHoklch(29.61% 0.121 293.3)
XYZxyz(3.8670, 2.2551, 11.7844)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321962 #496219
analogous
#192562 #321962 #571962
triadic
#321962 #623219 #196232
tetradic
#321962 #621925 #496219 #196257
square
#321962 #621925 #496219 #196257
split-complementary
#321962 #625719 #256219
monochromatic
#0C0618 #190D31 #321962 #4B2593 #6432C4

Accessibility & contrast

On white

14.47
#321962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#321962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321962
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321962#FFFFFF#000000##FFFFFF
##3219621.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#242B3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321962;
/* rgb */ color: rgb(50, 25, 98);
/* oklch */ color: oklch(29.6% 0.121 293.3);
Tailwind
colors: {
  custom: {
    50: '#6f588f',
    500: '#321962',
    950: '#000000',
  },
}
SCSS
$custom: #321962;
$custom-light: #6f588f;
$custom-dark: #000000;
JSON
{
  "hex": "#321962",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 260.548,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29606,
    "c": 0.12099,
    "h": 293.3
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#321962
secondary
#79983F
accent
#E345AD
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321962

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

Preview Lab → · Contrast checker → · Palette generator →

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