#321869#321869

#321869 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.131 H 291.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#321869
RGBrgb(50, 24, 105)
HSLhsl(259, 63%, 25%)
HSVhsv(259, 77%, 41%)
CMYKcmyk(52.4%, 77.1%, 0%, 58.8%)
CIE-LABlab(17.23, 33.41, -42.67)
CIE-LCHlch(17.23, 54.19, 308.06°)
OKLaboklab(30.14% 0.0472 -0.1225)
OKLCHoklch(30.14% 0.131 291.1)
XYZxyz(4.1911, 2.3511, 13.5948)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321869 #4F6918
analogous
#182769 #321869 #5A1869
triadic
#321869 #693218 #186932
tetradic
#321869 #691827 #4F6918 #18695A
square
#321869 #691827 #4F6918 #18695A
split-complementary
#321869 #695A18 #276918
monochromatic
#0C0619 #1A0D37 #321869 #4A239B #612FCD

Accessibility & contrast

On white

14.28
#321869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321869
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321869#FFFFFF#000000##FFFFFF
##3218691.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#202E3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321869;
/* rgb */ color: rgb(50, 24, 105);
/* oklch */ color: oklch(30.1% 0.131 291.1);
Tailwind
colors: {
  custom: {
    50: '#705895',
    500: '#321869',
    950: '#000000',
  },
}
SCSS
$custom: #321869;
$custom-light: #705895;
$custom-dark: #000000;
JSON
{
  "hex": "#321869",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 259.259,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30135,
    "c": 0.13124,
    "h": 291.1
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#321869
secondary
#809F3E
accent
#E642B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321869

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

Preview Lab → · Contrast checker → · Palette generator →

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