#321769#321769

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

Color values

HEX#321769
RGBrgb(50, 23, 105)
HSLhsl(260, 64%, 25%)
HSVhsv(260, 78%, 41%)
CMYKcmyk(52.4%, 78.1%, 0%, 58.8%)
CIE-LABlab(17.04, 33.95, -42.98)
CIE-LCHlch(17.04, 54.77, 308.30°)
OKLaboklab(30% 0.0481 -0.1234)
OKLCHoklch(30% 0.132 291.3)
XYZxyz(4.1709, 2.3107, 13.5881)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321769 #4E6917
analogous
#172569 #321769 #5B1769
triadic
#321769 #693217 #176932
tetradic
#321769 #691725 #4E6917 #17695B
square
#321769 #691725 #4E6917 #17695B
split-complementary
#321769 #695B17 #256917
monochromatic
#0C0519 #1A0C37 #321769 #4A229B #622DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321769#FFFFFF#000000##FFFFFF
##3217691.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)
#002B6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#202D3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321769;
/* rgb */ color: rgb(50, 23, 105);
/* oklch */ color: oklch(30.0% 0.132 291.3);
Tailwind
colors: {
  custom: {
    50: '#705795',
    500: '#321769',
    950: '#000000',
  },
}
SCSS
$custom: #321769;
$custom-light: #705795;
$custom-dark: #000000;
JSON
{
  "hex": "#321769",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 259.756,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3,
    "c": 0.13244,
    "h": 291.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#321769
secondary
#7F9F3D
accent
#E741B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321769

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

Preview Lab → · Contrast checker → · Palette generator →

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