#321759#321759

#321759 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.112 H 297.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#321759
RGBrgb(50, 23, 89)
HSLhsl(265, 59%, 22%)
HSVhsv(265, 74%, 35%)
CMYKcmyk(43.8%, 74.2%, 0%, 65.1%)
CIE-LABlab(15.55, 29.15, -34.79)
CIE-LCHlch(15.55, 45.39, 309.95°)
OKLaboklab(28.48% 0.0518 -0.0993)
OKLCHoklch(28.48% 0.112 297.5)
XYZxyz(3.4245, 2.0121, 9.6572)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321759 #3E5917
analogous
#171D59 #321759 #531759
triadic
#321759 #593217 #175932
tetradic
#321759 #59171D #3E5917 #175953
square
#321759 #59171D #3E5917 #175953
split-complementary
#321759 #595317 #1D5917
monochromatic
#0E0618 #170A28 #321759 #4D248A #6930BA

Accessibility & contrast

On white

14.97
#321759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321759
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321759#FFFFFF#000000##FFFFFF
##3217591.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321759;
/* rgb */ color: rgb(50, 23, 89);
/* oklch */ color: oklch(28.5% 0.112 297.5);
Tailwind
colors: {
  custom: {
    50: '#6e5688',
    500: '#321759',
    950: '#000000',
  },
}
SCSS
$custom: #321759;
$custom-light: #6e5688;
$custom-dark: #000000;
JSON
{
  "hex": "#321759",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 264.545,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28482,
    "c": 0.11203,
    "h": 297.5
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#321759
secondary
#6E903C
accent
#E246A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321759

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

Preview Lab → · Contrast checker → · Palette generator →

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