#321860#321860

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

Color values

HEX#321860
RGBrgb(50, 24, 96)
HSLhsl(262, 60%, 24%)
HSVhsv(262, 75%, 38%)
CMYKcmyk(47.9%, 75%, 0%, 62.4%)
CIE-LABlab(16.38, 30.67, -38.11)
CIE-LCHlch(16.38, 48.92, 308.82°)
OKLaboklab(29.27% 0.0493 -0.1091)
OKLCHoklch(29.27% 0.12 294.3)
XYZxyz(3.7528, 2.1758, 11.2863)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321860 #466018
analogous
#182260 #321860 #561860
triadic
#321860 #603218 #186032
tetradic
#321860 #601822 #466018 #186056
square
#321860 #601822 #466018 #186056
split-complementary
#321860 #605618 #226018
monochromatic
#0D0618 #180C2F #321860 #4B2491 #6530C2

Accessibility & contrast

On white

14.63
#321860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321860
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321860#FFFFFF#000000##FFFFFF
##3218601.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#252A3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321860;
/* rgb */ color: rgb(50, 24, 96);
/* oklch */ color: oklch(29.3% 0.120 294.3);
Tailwind
colors: {
  custom: {
    50: '#6f578e',
    500: '#321860',
    950: '#000000',
  },
}
SCSS
$custom: #321860;
$custom-light: #6f578e;
$custom-dark: #000000;
JSON
{
  "hex": "#321860",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 261.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.11972,
    "h": 294.3
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#321860
secondary
#76963D
accent
#E345AA
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321860

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

Preview Lab → · Contrast checker → · Palette generator →

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