#321359#321359

#321359 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.117 H 298.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#321359
RGBrgb(50, 19, 89)
HSLhsl(267, 65%, 21%)
HSVhsv(267, 79%, 35%)
CMYKcmyk(43.8%, 78.7%, 0%, 65.1%)
CIE-LABlab(14.76, 31.35, -36.08)
CIE-LCHlch(14.76, 47.80, 310.99°)
OKLaboklab(27.92% 0.0563 -0.1031)
OKLCHoklch(27.92% 0.117 298.6)
XYZxyz(3.3510, 1.8651, 9.6327)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321359 #3A5913
analogous
#131759 #321359 #551359
triadic
#321359 #593213 #135932
tetradic
#321359 #591317 #3A5913 #135955
square
#321359 #591317 #3A5913 #135955
split-complementary
#321359 #595513 #175913
monochromatic
#0E0519 #160827 #321359 #4E1E8B #6B29BE

Accessibility & contrast

On white

15.29
#321359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321359
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321359#FFFFFF#000000##FFFFFF
##3213591.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#282535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321359;
/* rgb */ color: rgb(50, 19, 89);
/* oklch */ color: oklch(27.9% 0.117 298.6);
Tailwind
colors: {
  custom: {
    50: '#6e5489',
    500: '#321359',
    950: '#000000',
  },
}
SCSS
$custom: #321359;
$custom-light: #6e5489;
$custom-dark: #000000;
JSON
{
  "hex": "#321359",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 266.571,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27922,
    "c": 0.11745,
    "h": 298.6
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#321359
secondary
#699137
accent
#E8409D
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #321359

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

Preview Lab → · Contrast checker → · Palette generator →

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