#321153#321153

#321153 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.113 H 302.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#321153
RGBrgb(50, 17, 83)
HSLhsl(270, 66%, 20%)
HSVhsv(270, 80%, 33%)
CMYKcmyk(39.8%, 79.5%, 0%, 67.5%)
CIE-LABlab(13.85, 30.70, -33.51)
CIE-LCHlch(13.85, 45.44, 312.50°)
OKLaboklab(27.1% 0.0599 -0.0955)
OKLCHoklch(27.1% 0.113 302.1)
XYZxyz(3.0768, 1.7035, 8.3487)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321153 #325311
analogous
#111153 #321153 #531153
triadic
#321153 #533211 #115332
tetradic
#321153 #531111 #325311 #115353
square
#321153 #531111 #325311 #115353
split-complementary
#321153 #535311 #115311
monochromatic
#0F0519 #130720 #321153 #511B86 #6F26B9

Accessibility & contrast

On white

15.66
#321153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321153
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321153#FFFFFF#000000##FFFFFF
##3211531.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#2B2131
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321153;
/* rgb */ color: rgb(50, 17, 83);
/* oklch */ color: oklch(27.1% 0.113 302.1);
Tailwind
colors: {
  custom: {
    50: '#6e5284',
    500: '#321153',
    950: '#000000',
  },
}
SCSS
$custom: #321153;
$custom-light: #6e5284;
$custom-dark: #000000;
JSON
{
  "hex": "#321153",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 270,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27104,
    "c": 0.11272,
    "h": 302.1
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#321153
secondary
#608C34
accent
#E93F94
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #321153

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

Preview Lab → · Contrast checker → · Palette generator →

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