#321A60#321A60

#321A60 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.117 H 293.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#321A60
RGBrgb(50, 26, 96)
HSLhsl(261, 57%, 24%)
HSVhsv(261, 73%, 38%)
CMYKcmyk(47.9%, 72.9%, 0%, 62.4%)
CIE-LABlab(16.80, 29.51, -37.43)
CIE-LCHlch(16.80, 47.67, 308.25°)
OKLaboklab(29.57% 0.0471 -0.1071)
OKLCHoklch(29.57% 0.117 293.7)
XYZxyz(3.7955, 2.2613, 11.3006)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A60 #48601A
analogous
#1A2560 #321A60 #551A60
triadic
#321A60 #60321A #1A6032
tetradic
#321A60 #601A25 #48601A #1A6055
square
#321A60 #601A25 #48601A #1A6055
split-complementary
#321A60 #60551A #25601A
monochromatic
#0D0718 #190D30 #321A60 #4B2790 #6434C0

Accessibility & contrast

On white

14.46
#321A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#321A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A60
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A60#FFFFFF#000000##FFFFFF
##321A601.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#252B3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321a60;
/* rgb */ color: rgb(50, 26, 96);
/* oklch */ color: oklch(29.6% 0.117 293.7);
Tailwind
colors: {
  custom: {
    50: '#6f588e',
    500: '#321a60',
    950: '#000000',
  },
}
SCSS
$custom: #321a60;
$custom-light: #6f588e;
$custom-dark: #000000;
JSON
{
  "hex": "#321a60",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 260.571,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.117,
    "h": 293.7
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#321A60
secondary
#789640
accent
#E147AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321A60

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

Preview Lab → · Contrast checker → · Palette generator →

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