#321E61#321E61

#321E61 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.113 H 292.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#321E61
RGBrgb(50, 30, 97)
HSLhsl(258, 53%, 25%)
HSVhsv(258, 69%, 38%)
CMYKcmyk(48.5%, 69.1%, 0%, 62%)
CIE-LABlab(17.78, 27.39, -36.50)
CIE-LCHlch(17.78, 45.64, 306.88°)
OKLaboklab(30.3% 0.0423 -0.1044)
OKLCHoklch(30.3% 0.113 292)
XYZxyz(3.9367, 2.4696, 11.5762)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E61 #4D611E
analogous
#1E2C61 #321E61 #531E61
triadic
#321E61 #61321E #1E6132
tetradic
#321E61 #611E2C #4D611E #1E6153
square
#321E61 #611E2C #4D611E #1E6153
split-complementary
#321E61 #61531E #2C611E
monochromatic
#0C0717 #1A1032 #321E61 #4A2C90 #623BBE

Accessibility & contrast

On white

14.06
#321E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#321E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E61
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E61#FFFFFF#000000##FFFFFF
##321E611.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#242E3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321e61;
/* rgb */ color: rgb(50, 30, 97);
/* oklch */ color: oklch(30.3% 0.113 292.0);
Tailwind
colors: {
  custom: {
    50: '#6f5b8e',
    500: '#321e61',
    950: '#000000',
  },
}
SCSS
$custom: #321e61;
$custom-light: #6f5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#321e61",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 257.91,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30302,
    "c": 0.11263,
    "h": 292
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#321E61
secondary
#7E9645
accent
#DC4CB1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #321E61

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

Preview Lab → · Contrast checker → · Palette generator →

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