#321A6B#321A6B

#321A6B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.131 H 289.9°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#321A6B
RGBrgb(50, 26, 107)
HSLhsl(258, 61%, 26%)
HSVhsv(258, 76%, 42%)
CMYKcmyk(53.3%, 75.7%, 0%, 58%)
CIE-LABlab(17.82, 32.91, -43.01)
CIE-LCHlch(17.82, 54.15, 307.42°)
OKLaboklab(30.61% 0.0448 -0.1235)
OKLCHoklch(30.61% 0.131 289.9)
XYZxyz(4.3379, 2.4783, 14.1569)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A6B #536B1A
analogous
#1A2A6B #321A6B #5A1A6B
triadic
#321A6B #6B321A #1A6B32
tetradic
#321A6B #6B1A2A #536B1A #1A6B5A
square
#321A6B #6B1A2A #536B1A #1A6B5A
split-complementary
#321A6B #6B5A1A #2A6B1A
monochromatic
#0C0619 #1B0E3A #321A6B #49269C #6032CD

Accessibility & contrast

On white

14.04
#321A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#321A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A6B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A6B#FFFFFF#000000##FFFFFF
##321A6B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#1E2F40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321a6b;
/* rgb */ color: rgb(50, 26, 107);
/* oklch */ color: oklch(30.6% 0.131 289.9);
Tailwind
colors: {
  custom: {
    50: '#715996',
    500: '#321a6b',
    950: '#000000',
  },
}
SCSS
$custom: #321a6b;
$custom-light: #715996;
$custom-dark: #000000;
JSON
{
  "hex": "#321a6b",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 257.778,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.13135,
    "h": 289.9
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#321A6B
secondary
#84A040
accent
#E444B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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