#321A67#321A67

#321A67 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.126 H 291.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#321A67
RGBrgb(50, 26, 103)
HSLhsl(259, 60%, 25%)
HSVhsv(259, 75%, 40%)
CMYKcmyk(51.5%, 74.8%, 0%, 59.6%)
CIE-LABlab(17.44, 31.67, -41.01)
CIE-LCHlch(17.44, 51.82, 307.68°)
OKLaboklab(30.23% 0.0457 -0.1176)
OKLCHoklch(30.23% 0.126 291.2)
XYZxyz(4.1323, 2.3960, 13.0741)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A67 #4F671A
analogous
#1A2967 #321A67 #581A67
triadic
#321A67 #67321A #1A6732
tetradic
#321A67 #671A29 #4F671A #1A6758
square
#321A67 #671A29 #4F671A #1A6758
split-complementary
#321A67 #67581A #29671A
monochromatic
#0C0618 #1A0E36 #321A67 #4A2698 #6133C9

Accessibility & contrast

On white

14.20
#321A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321A67
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A67#FFFFFF#000000##FFFFFF
##321A671.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#212E3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321a67;
/* rgb */ color: rgb(50, 26, 103);
/* oklch */ color: oklch(30.2% 0.126 291.2);
Tailwind
colors: {
  custom: {
    50: '#705993',
    500: '#321a67',
    950: '#000000',
  },
}
SCSS
$custom: #321a67;
$custom-light: #705993;
$custom-dark: #000000;
JSON
{
  "hex": "#321a67",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 258.701,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.12618,
    "h": 291.2
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#321A67
secondary
#809D40
accent
#E345B2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321A67

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

Preview Lab → · Contrast checker → · Palette generator →

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