#321355#321355

#321355 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.113 H 300.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#321355
RGBrgb(50, 19, 85)
HSLhsl(268, 63%, 20%)
HSVhsv(268, 78%, 33%)
CMYKcmyk(41.2%, 77.6%, 0%, 66.7%)
CIE-LABlab(14.40, 30.21, -33.97)
CIE-LCHlch(14.40, 45.46, 311.65°)
OKLaboklab(27.55% 0.0572 -0.0969)
OKLCHoklch(27.55% 0.113 300.5)
XYZxyz(3.1876, 1.7997, 8.7720)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321355 #365513
analogous
#131555 #321355 #531355
triadic
#321355 #553213 #135532
tetradic
#321355 #551315 #365513 #135553
square
#321355 #551315 #365513 #135553
split-complementary
#321355 #555313 #155513
monochromatic
#0F0619 #150823 #321355 #4F1E87 #6D29B9

Accessibility & contrast

On white

15.44
#321355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321355
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321355#FFFFFF#000000##FFFFFF
##3213551.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#2A2332
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321355;
/* rgb */ color: rgb(50, 19, 85);
/* oklch */ color: oklch(27.6% 0.113 300.5);
Tailwind
colors: {
  custom: {
    50: '#6e5485',
    500: '#321355',
    950: '#000000',
  },
}
SCSS
$custom: #321355;
$custom-light: #6e5485;
$custom-dark: #000000;
JSON
{
  "hex": "#321355",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 268.182,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27551,
    "c": 0.1125,
    "h": 300.5
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#321355
secondary
#658D36
accent
#E64199
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321355

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

Preview Lab → · Contrast checker → · Palette generator →

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