#45219D#45219D

#45219D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.184 H 287.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#45219D
RGBrgb(69, 33, 157)
HSLhsl(257, 65%, 37%)
HSVhsv(257, 79%, 62%)
CMYKcmyk(56.1%, 79%, 0%, 38.4%)
CIE-LABlab(26.12, 47.04, -60.82)
CIE-LCHlch(26.12, 76.89, 307.72°)
OKLaboklab(38.43% 0.0553 -0.175)
OKLCHoklch(38.43% 0.184 287.5)
XYZxyz(9.0821, 4.7868, 32.3371)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45219D #799D21
analogous
#213B9D #45219D #83219D
triadic
#45219D #9D4521 #219D45
tetradic
#45219D #9D213B #799D21 #219D83
square
#45219D #9D213B #799D21 #219D83
split-complementary
#45219D #9D8321 #3B9D21
monochromatic
#190C38 #2F166A #45219D #5B2CD0 #815CDD

Accessibility & contrast

On white

10.73
#45219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#45219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45219D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45219D#FFFFFF#000000##FFFFFF
##45219D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#1E455F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45219d;
/* rgb */ color: rgb(69, 33, 157);
/* oklch */ color: oklch(38.4% 0.184 287.5);
Tailwind
colors: {
  custom: {
    50: '#8361bb',
    500: '#45219d',
    950: '#000000',
  },
}
SCSS
$custom: #45219d;
$custom-light: #8361bb;
$custom-dark: #000000;
JSON
{
  "hex": "#45219d",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 257.419,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.18357,
    "h": 287.5
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#45219D
secondary
#A3C159
accent
#E840B7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #45219D

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

Preview Lab → · Contrast checker → · Palette generator →

#45219D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva