#321575#321575

#321575 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.149 H 288.0°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#321575
RGBrgb(50, 21, 117)
HSLhsl(258, 70%, 27%)
HSVhsv(258, 82%, 46%)
CMYKcmyk(57.3%, 82.1%, 0%, 54.1%)
CIE-LABlab(17.91, 38.56, -49.34)
CIE-LCHlch(17.91, 62.62, 308.01°)
OKLaboklab(30.98% 0.0461 -0.142)
OKLCHoklch(30.98% 0.149 288)
XYZxyz(4.7935, 2.4985, 17.0559)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321575 #587515
analogous
#152875 #321575 #621575
triadic
#321575 #753215 #157532
tetradic
#321575 #751528 #587515 #157562
square
#321575 #751528 #587515 #157562
split-complementary
#321575 #756215 #287515
monochromatic
#0B051A #1C0C41 #321575 #481EA9 #602BD9

Accessibility & contrast

On white

14.00
#321575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#321575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321575
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321575#FFFFFF#000000##FFFFFF
##3215751.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#153145
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321575;
/* rgb */ color: rgb(50, 21, 117);
/* oklch */ color: oklch(31.0% 0.149 288.0);
Tailwind
colors: {
  custom: {
    50: '#73579e',
    500: '#321575',
    950: '#000000',
  },
}
SCSS
$custom: #321575;
$custom-light: #73579e;
$custom-dark: #000000;
JSON
{
  "hex": "#321575",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 258.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.1493,
    "h": 288
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#321575
secondary
#89AB3B
accent
#EC3BB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321575

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

Preview Lab → · Contrast checker → · Palette generator →

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