#45219F#45219F

#45219F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.186 H 287.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#45219F
RGBrgb(69, 33, 159)
HSLhsl(257, 66%, 38%)
HSVhsv(257, 79%, 62%)
CMYKcmyk(56.6%, 79.2%, 0%, 37.6%)
CIE-LABlab(26.32, 47.61, -61.71)
CIE-LCHlch(26.32, 77.94, 307.65°)
OKLaboklab(38.64% 0.0547 -0.1776)
OKLCHoklch(38.64% 0.186 287.1)
XYZxyz(9.2542, 4.8556, 33.2438)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45219F #7B9F21
analogous
#213C9F #45219F #84219F
triadic
#45219F #9F4521 #219F45
tetradic
#45219F #9F213C #7B9F21 #219F84
square
#45219F #9F213C #7B9F21 #219F84
split-complementary
#45219F #9F8421 #3C9F21
monochromatic
#190C3A #2F166C #45219F #5B2CD2 #825DDD

Accessibility & contrast

On white

10.65
#45219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#45219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45219F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45219F#FFFFFF#000000##FFFFFF
##45219F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#1C4660
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45219f;
/* rgb */ color: rgb(69, 33, 159);
/* oklch */ color: oklch(38.6% 0.186 287.1);
Tailwind
colors: {
  custom: {
    50: '#8361bd',
    500: '#45219f',
    950: '#000000',
  },
}
SCSS
$custom: #45219f;
$custom-light: #8361bd;
$custom-dark: #000000;
JSON
{
  "hex": "#45219f",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 257.143,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.18587,
    "h": 287.1
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#45219F
secondary
#A4C25A
accent
#E93FB8
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #45219F

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

Preview Lab → · Contrast checker → · Palette generator →

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