#321A63#321A63

#321A63 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.121 H 292.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#321A63
RGBrgb(50, 26, 99)
HSLhsl(260, 58%, 25%)
HSVhsv(260, 74%, 39%)
CMYKcmyk(49.5%, 73.7%, 0%, 61.2%)
CIE-LABlab(17.07, 30.43, -38.98)
CIE-LCHlch(17.07, 49.45, 307.98°)
OKLaboklab(29.85% 0.0465 -0.1117)
OKLCHoklch(29.85% 0.121 292.6)
XYZxyz(3.9363, 2.3176, 12.0419)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A63 #4B631A
analogous
#1A2763 #321A63 #571A63
triadic
#321A63 #63321A #1A6332
tetradic
#321A63 #631A27 #4B631A #1A6357
square
#321A63 #631A27 #4B631A #1A6357
split-complementary
#321A63 #63571A #27631A
monochromatic
#0C0618 #1A0D33 #321A63 #4A2793 #6333C4

Accessibility & contrast

On white

14.35
#321A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#321A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A63
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A63#FFFFFF#000000##FFFFFF
##321A631.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#232C3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321a63;
/* rgb */ color: rgb(50, 26, 99);
/* oklch */ color: oklch(29.8% 0.121 292.6);
Tailwind
colors: {
  custom: {
    50: '#6f5890',
    500: '#321a63',
    950: '#000000',
  },
}
SCSS
$custom: #321a63;
$custom-light: #6f5890;
$custom-dark: #000000;
JSON
{
  "hex": "#321a63",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 259.726,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29848,
    "c": 0.12096,
    "h": 292.6
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#321A63
secondary
#7C9940
accent
#E246AF
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #321A63

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

Preview Lab → · Contrast checker → · Palette generator →

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