#321C67#321C67

#321C67 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.124 H 290.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#321C67
RGBrgb(50, 28, 103)
HSLhsl(258, 57%, 26%)
HSVhsv(258, 73%, 40%)
CMYKcmyk(51.5%, 72.8%, 0%, 59.6%)
CIE-LABlab(17.86, 30.50, -40.32)
CIE-LCHlch(17.86, 50.56, 307.10°)
OKLaboklab(30.53% 0.0436 -0.1156)
OKLCHoklch(30.53% 0.124 290.7)
XYZxyz(4.1781, 2.4877, 13.0894)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C67 #51671C
analogous
#1C2B67 #321C67 #571C67
triadic
#321C67 #67321C #1C6732
tetradic
#321C67 #671C2B #51671C #1C6757
square
#321C67 #671C2B #51671C #1C6757
split-complementary
#321C67 #67571C #2B671C
monochromatic
#0C0718 #1B0F37 #321C67 #492997 #6136C7

Accessibility & contrast

On white

14.02
#321C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#321C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C67
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C67#FFFFFF#000000##FFFFFF
##321C671.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.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: #321c67;
/* rgb */ color: rgb(50, 28, 103);
/* oklch */ color: oklch(30.5% 0.124 290.7);
Tailwind
colors: {
  custom: {
    50: '#705a93',
    500: '#321c67',
    950: '#000000',
  },
}
SCSS
$custom: #321c67;
$custom-light: #705a93;
$custom-dark: #000000;
JSON
{
  "hex": "#321c67",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 257.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.12355,
    "h": 290.7
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#321C67
secondary
#829C43
accent
#E147B4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #321C67

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

Preview Lab → · Contrast checker → · Palette generator →

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