#3219A8#3219A8

#3219A8 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.1% C 0.205 H 277.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#3219A8
RGBrgb(50, 25, 168)
HSLhsl(250, 74%, 38%)
HSVhsv(250, 85%, 66%)
CMYKcmyk(70.2%, 85.1%, 0%, 34.1%)
CIE-LABlab(24.32, 51.79, -70.53)
CIE-LCHlch(24.32, 87.50, 306.29°)
OKLaboklab(37.11% 0.0267 -0.2037)
OKLCHoklch(37.11% 0.205 277.5)
XYZxyz(8.7286, 4.1997, 37.3888)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3219A8 #8FA819
analogous
#1947A8 #3219A8 #7A19A8
triadic
#3219A8 #A83219 #19A832
tetradic
#3219A8 #A81947 #8FA819 #19A87A
square
#3219A8 #A81947 #8FA819 #19A87A
split-complementary
#3219A8 #A87A19 #47A819
monochromatic
#12093D #221173 #3219A8 #4221DD #6F56E6

Accessibility & contrast

On white

11.41
#3219A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3219A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3219A8
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3219A8#FFFFFF#000000##FFFFFF
##3219A81.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3219a8;
/* rgb */ color: rgb(50, 25, 168);
/* oklch */ color: oklch(37.1% 0.205 277.5);
Tailwind
colors: {
  custom: {
    50: '#7d5cc3',
    500: '#3219a8',
    950: '#000000',
  },
}
SCSS
$custom: #3219a8;
$custom-light: #7d5cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3219a8",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 168
  },
  "hsl": {
    "h": 250.49,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.20548,
    "h": 277.5
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#3219A8
secondary
#B4C954
accent
#F137D0
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #3219A8

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

Preview Lab → · Contrast checker → · Palette generator →

#3219A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva