#321961#321961

#321961 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.120 H 293.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#321961
RGBrgb(50, 25, 97)
HSLhsl(261, 59%, 24%)
HSVhsv(261, 74%, 38%)
CMYKcmyk(48.5%, 74.2%, 0%, 62%)
CIE-LABlab(16.68, 30.40, -38.29)
CIE-LCHlch(16.68, 48.89, 308.45°)
OKLaboklab(29.51% 0.048 -0.1096)
OKLCHoklch(29.51% 0.12 293.6)
XYZxyz(3.8201, 2.2363, 11.5373)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321961 #486119
analogous
#192461 #321961 #561961
triadic
#321961 #613219 #196132
tetradic
#321961 #611924 #486119 #196156
square
#321961 #611924 #486119 #196156
split-complementary
#321961 #615619 #246119
monochromatic
#0D0618 #190C30 #321961 #4B2692 #6432C2

Accessibility & contrast

On white

14.51
#321961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321961
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321961#FFFFFF#000000##FFFFFF
##3219611.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321961;
/* rgb */ color: rgb(50, 25, 97);
/* oklch */ color: oklch(29.5% 0.120 293.6);
Tailwind
colors: {
  custom: {
    50: '#6f588f',
    500: '#321961',
    950: '#000000',
  },
}
SCSS
$custom: #321961;
$custom-light: #6f588f;
$custom-dark: #000000;
JSON
{
  "hex": "#321961",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 260.833,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29513,
    "c": 0.11968,
    "h": 293.6
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#321961
secondary
#78973F
accent
#E246AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321961

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

Preview Lab → · Contrast checker → · Palette generator →

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