#321CA1#321CA1

#321CA1 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.195 H 278.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#321CA1
RGBrgb(50, 28, 161)
HSLhsl(250, 70%, 37%)
HSVhsv(250, 83%, 63%)
CMYKcmyk(68.9%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.94, 48.44, -66.92)
CIE-LCHlch(23.94, 82.61, 305.90°)
OKLaboklab(36.61% 0.0277 -0.1933)
OKLCHoklch(36.61% 0.195 278.2)
XYZxyz(8.1616, 4.0811, 34.0689)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321CA1 #8BA11C
analogous
#1C49A1 #321CA1 #751CA1
triadic
#321CA1 #A1321C #1CA132
tetradic
#321CA1 #A11C49 #8BA11C #1CA175
square
#321CA1 #A11C49 #8BA11C #1CA175
split-complementary
#321CA1 #A1751C #49A11C
monochromatic
#120A39 #22136D #321CA1 #4225D5 #6D56E2

Accessibility & contrast

On white

11.56
#321CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#321CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321CA1
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321CA1#FFFFFF#000000##FFFFFF
##321CA11.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #321ca1;
/* rgb */ color: rgb(50, 28, 161);
/* oklch */ color: oklch(36.6% 0.195 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b5dbe',
    500: '#321ca1',
    950: '#000000',
  },
}
SCSS
$custom: #321ca1;
$custom-light: #7b5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#321ca1",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 249.925,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.19528,
    "h": 278.2
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#321CA1
secondary
#B2C554
accent
#ED3BD0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #321CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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