#321C61#321C61

#321C61 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.116 H 292.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#321C61
RGBrgb(50, 28, 97)
HSLhsl(259, 55%, 25%)
HSVhsv(259, 71%, 38%)
CMYKcmyk(48.5%, 71.1%, 0%, 62%)
CIE-LABlab(17.33, 28.62, -37.24)
CIE-LCHlch(17.33, 46.97, 307.54°)
OKLaboklab(29.98% 0.0446 -0.1066)
OKLCHoklch(29.98% 0.116 292.7)
XYZxyz(3.8877, 2.3716, 11.5599)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C61 #4B611C
analogous
#1C2961 #321C61 #551C61
triadic
#321C61 #61321C #1C6132
tetradic
#321C61 #611C29 #4B611C #1C6155
square
#321C61 #611C29 #4B611C #1C6155
split-complementary
#321C61 #61551C #29611C
monochromatic
#0C0718 #1A0E32 #321C61 #4A2A90 #6337C0

Accessibility & contrast

On white

14.24
#321C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C61
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C61#FFFFFF#000000##FFFFFF
##321C611.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#242D3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321c61;
/* rgb */ color: rgb(50, 28, 97);
/* oklch */ color: oklch(30.0% 0.116 292.7);
Tailwind
colors: {
  custom: {
    50: '#6f5a8e',
    500: '#321c61',
    950: '#000000',
  },
}
SCSS
$custom: #321c61;
$custom-light: #6f5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#321c61",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 259.13,
    "s": 55.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29975,
    "c": 0.11552,
    "h": 292.7
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#321C61
secondary
#7C9643
accent
#DF49AF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #321C61

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

Preview Lab → · Contrast checker → · Palette generator →

#321C61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva