#321965#321965

#321965 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.125 H 292.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#321965
RGBrgb(50, 25, 101)
HSLhsl(260, 60%, 25%)
HSVhsv(260, 75%, 40%)
CMYKcmyk(50.5%, 75.2%, 0%, 60.4%)
CIE-LABlab(17.05, 31.62, -40.34)
CIE-LCHlch(17.05, 51.26, 308.10°)
OKLaboklab(29.89% 0.0472 -0.1156)
OKLCHoklch(29.89% 0.125 292.2)
XYZxyz(4.0113, 2.3128, 12.5445)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321965 #4C6519
analogous
#192665 #321965 #581965
triadic
#321965 #653219 #196532
tetradic
#321965 #651926 #4C6519 #196558
square
#321965 #651926 #4C6519 #196558
split-complementary
#321965 #655819 #266519
monochromatic
#0C0619 #1A0D34 #321965 #4A2596 #6331C7

Accessibility & contrast

On white

14.36
#321965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321965
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321965#FFFFFF#000000##FFFFFF
##3219651.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#222D3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321965;
/* rgb */ color: rgb(50, 25, 101);
/* oklch */ color: oklch(29.9% 0.125 292.2);
Tailwind
colors: {
  custom: {
    50: '#705892',
    500: '#321965',
    950: '#000000',
  },
}
SCSS
$custom: #321965;
$custom-light: #705892;
$custom-dark: #000000;
JSON
{
  "hex": "#321965",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 259.737,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29889,
    "c": 0.12488,
    "h": 292.2
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#321965
secondary
#7D9B3F
accent
#E344AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321965

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

Preview Lab → · Contrast checker → · Palette generator →

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