#321D67#321D67

#321D67 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.122 H 290.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#321D67
RGBrgb(50, 29, 103)
HSLhsl(257, 56%, 26%)
HSVhsv(257, 72%, 40%)
CMYKcmyk(51.5%, 71.8%, 0%, 59.6%)
CIE-LABlab(18.08, 29.90, -39.97)
CIE-LCHlch(18.08, 49.92, 306.80°)
OKLaboklab(30.68% 0.0425 -0.1146)
OKLCHoklch(30.68% 0.122 290.4)
XYZxyz(4.2022, 2.5359, 13.0974)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D67 #52671D
analogous
#1D2D67 #321D67 #571D67
triadic
#321D67 #67321D #1D6732
tetradic
#321D67 #671D2D #52671D #1D6757
square
#321D67 #671D2D #52671D #1D6757
split-complementary
#321D67 #67571D #2D671D
monochromatic
#0C0718 #1B1037 #321D67 #492A97 #6038C7

Accessibility & contrast

On white

13.93
#321D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#321D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D67
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D67#FFFFFF#000000##FFFFFF
##321D671.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#212F3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321d67;
/* rgb */ color: rgb(50, 29, 103);
/* oklch */ color: oklch(30.7% 0.122 290.4);
Tailwind
colors: {
  custom: {
    50: '#705b93',
    500: '#321d67',
    950: '#000000',
  },
}
SCSS
$custom: #321d67;
$custom-light: #705b93;
$custom-dark: #000000;
JSON
{
  "hex": "#321d67",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 257.027,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.12221,
    "h": 290.4
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#321D67
secondary
#839C44
accent
#DF48B5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321D67

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

Preview Lab → · Contrast checker → · Palette generator →

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