#321A65#321A65

#321A65 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.0% C 0.124 H 291.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#321A65
RGBrgb(50, 26, 101)
HSLhsl(259, 59%, 25%)
HSVhsv(259, 74%, 40%)
CMYKcmyk(50.5%, 74.3%, 0%, 60.4%)
CIE-LABlab(17.26, 31.05, -40.00)
CIE-LCHlch(17.26, 50.64, 307.82°)
OKLaboklab(30.04% 0.0461 -0.1146)
OKLCHoklch(30.04% 0.124 291.9)
XYZxyz(4.0331, 2.3563, 12.5517)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A65 #4D651A
analogous
#1A2865 #321A65 #581A65
triadic
#321A65 #65321A #1A6532
tetradic
#321A65 #651A28 #4D651A #1A6558
square
#321A65 #651A28 #4D651A #1A6558
split-complementary
#321A65 #65581A #28651A
monochromatic
#0C0618 #1A0D34 #321A65 #4A2796 #6233C6

Accessibility & contrast

On white

14.27
#321A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A65
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A65#FFFFFF#000000##FFFFFF
##321A651.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#222D3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321a65;
/* rgb */ color: rgb(50, 26, 101);
/* oklch */ color: oklch(30.0% 0.124 291.9);
Tailwind
colors: {
  custom: {
    50: '#705992',
    500: '#321a65',
    950: '#000000',
  },
}
SCSS
$custom: #321a65;
$custom-light: #705992;
$custom-dark: #000000;
JSON
{
  "hex": "#321a65",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 259.2,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.12357,
    "h": 291.9
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#321A65
secondary
#7E9B40
accent
#E246B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321A65

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

Preview Lab → · Contrast checker → · Palette generator →

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