#321D61#321D61

#321D61 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.114 H 292.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#321D61
RGBrgb(50, 29, 97)
HSLhsl(259, 54%, 25%)
HSVhsv(259, 70%, 38%)
CMYKcmyk(48.5%, 70.1%, 0%, 62%)
CIE-LABlab(17.55, 28.01, -36.88)
CIE-LCHlch(17.55, 46.31, 307.22°)
OKLaboklab(30.14% 0.0435 -0.1055)
OKLCHoklch(30.14% 0.114 292.4)
XYZxyz(3.9118, 2.4198, 11.5679)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D61 #4C611D
analogous
#1D2A61 #321D61 #541D61
triadic
#321D61 #61321D #1D6132
tetradic
#321D61 #611D2A #4C611D #1D6154
square
#321D61 #611D2A #4C611D #1D6154
split-complementary
#321D61 #61541D #2A611D
monochromatic
#0C0718 #1A0F32 #321D61 #4A2B90 #6339BF

Accessibility & contrast

On white

14.15
#321D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#321D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D61
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D61#FFFFFF#000000##FFFFFF
##321D611.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321d61;
/* rgb */ color: rgb(50, 29, 97);
/* oklch */ color: oklch(30.1% 0.114 292.4);
Tailwind
colors: {
  custom: {
    50: '#6f5a8e',
    500: '#321d61',
    950: '#000000',
  },
}
SCSS
$custom: #321d61;
$custom-light: #6f5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#321d61",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 258.529,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30137,
    "c": 0.11409,
    "h": 292.4
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#321D61
secondary
#7D9644
accent
#DD4AB0
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #321D61

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

Preview Lab → · Contrast checker → · Palette generator →

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