#321659#321659

#321659 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.113 H 297.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#321659
RGBrgb(50, 22, 89)
HSLhsl(265, 60%, 22%)
HSVhsv(265, 75%, 35%)
CMYKcmyk(43.8%, 75.3%, 0%, 65.1%)
CIE-LABlab(15.35, 29.72, -35.13)
CIE-LCHlch(15.35, 46.01, 310.23°)
OKLaboklab(28.34% 0.0529 -0.1003)
OKLCHoklch(28.34% 0.113 297.8)
XYZxyz(3.4050, 1.9731, 9.6507)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321659 #3D5916
analogous
#161C59 #321659 #541659
triadic
#321659 #593216 #165932
tetradic
#321659 #59161C #3D5916 #165954
square
#321659 #59161C #3D5916 #165954
split-complementary
#321659 #595416 #1C5916
monochromatic
#0E0619 #160A28 #321659 #4E228A #692EBB

Accessibility & contrast

On white

15.06
#321659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321659
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321659#FFFFFF#000000##FFFFFF
##3216591.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#282635
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321659;
/* rgb */ color: rgb(50, 22, 89);
/* oklch */ color: oklch(28.3% 0.113 297.8);
Tailwind
colors: {
  custom: {
    50: '#6e5688',
    500: '#321659',
    950: '#000000',
  },
}
SCSS
$custom: #321659;
$custom-light: #6e5688;
$custom-dark: #000000;
JSON
{
  "hex": "#321659",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 265.075,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28336,
    "c": 0.11343,
    "h": 297.8
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#321659
secondary
#6C903B
accent
#E444A1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321659

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

Preview Lab → · Contrast checker → · Palette generator →

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