#321055#321055

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

Color values

HEX#321055
RGBrgb(50, 16, 85)
HSLhsl(270, 68%, 20%)
HSVhsv(270, 81%, 33%)
CMYKcmyk(41.2%, 81.2%, 0%, 66.7%)
CIE-LABlab(13.85, 31.76, -34.86)
CIE-LCHlch(13.85, 47.15, 312.34°)
OKLaboklab(27.17% 0.0604 -0.0995)
OKLCHoklch(27.17% 0.116 301.3)
XYZxyz(3.1400, 1.7045, 8.7562)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321055 #335510
analogous
#101155 #321055 #551055
triadic
#321055 #553210 #105532
tetradic
#321055 #551011 #335510 #105555
square
#321055 #551011 #335510 #105555
split-complementary
#321055 #555510 #115510
monochromatic
#0F051A #140621 #321055 #501A89 #6F23BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321055#FFFFFF#000000##FFFFFF
##3210551.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)
#002357
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#2A2232
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321055;
/* rgb */ color: rgb(50, 16, 85);
/* oklch */ color: oklch(27.2% 0.116 301.3);
Tailwind
colors: {
  custom: {
    50: '#6e5285',
    500: '#321055',
    950: '#000000',
  },
}
SCSS
$custom: #321055;
$custom-light: #6e5285;
$custom-dark: #000000;
JSON
{
  "hex": "#321055",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 269.565,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27166,
    "c": 0.11639,
    "h": 301.3
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#321055
secondary
#618F32
accent
#EB3D95
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #321055

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

Preview Lab → · Contrast checker → · Palette generator →

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