#321555#321555

#321555 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.110 H 300.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#321555
RGBrgb(50, 21, 85)
HSLhsl(267, 60%, 21%)
HSVhsv(267, 75%, 33%)
CMYKcmyk(41.2%, 75.3%, 0%, 66.7%)
CIE-LABlab(14.79, 29.11, -33.33)
CIE-LCHlch(14.79, 44.25, 311.14°)
OKLaboklab(27.83% 0.0549 -0.095)
OKLCHoklch(27.83% 0.11 300)
XYZxyz(3.2228, 1.8703, 8.7838)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321555 #385515
analogous
#151855 #321555 #521555
triadic
#321555 #553215 #155532
tetradic
#321555 #551518 #385515 #155552
square
#321555 #551518 #385515 #155552
split-complementary
#321555 #555215 #185515
monochromatic
#0E0619 #150924 #321555 #4F2186 #6C2DB7

Accessibility & contrast

On white

15.28
#321555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321555
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321555#FFFFFF#000000##FFFFFF
##3215551.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#2A2433
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321555;
/* rgb */ color: rgb(50, 21, 85);
/* oklch */ color: oklch(27.8% 0.110 300.0);
Tailwind
colors: {
  custom: {
    50: '#6e5585',
    500: '#321555',
    950: '#000000',
  },
}
SCSS
$custom: #321555;
$custom-light: #6e5585;
$custom-dark: #000000;
JSON
{
  "hex": "#321555",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 267.188,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.10973,
    "h": 300
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#321555
secondary
#678D39
accent
#E4449B
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321555

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

Preview Lab → · Contrast checker → · Palette generator →

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