#45219B#45219B

#45219B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.181 H 288.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#45219B
RGBrgb(69, 33, 155)
HSLhsl(258, 65%, 37%)
HSVhsv(258, 79%, 61%)
CMYKcmyk(55.5%, 78.7%, 0%, 39.2%)
CIE-LABlab(25.92, 46.47, -59.93)
CIE-LCHlch(25.92, 75.83, 307.79°)
OKLaboklab(38.24% 0.0559 -0.1724)
OKLCHoklch(38.24% 0.181 288)
XYZxyz(8.9127, 4.7190, 31.4452)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45219B #779B21
analogous
#213A9B #45219B #82219B
triadic
#45219B #9B4521 #219B45
tetradic
#45219B #9B213A #779B21 #219B82
square
#45219B #9B213A #779B21 #219B82
split-complementary
#45219B #9B8221 #3A9B21
monochromatic
#180C36 #2F1669 #45219B #5B2CCD #815ADC

Accessibility & contrast

On white

10.80
#45219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#45219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45219B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45219B#FFFFFF#000000##FFFFFF
##45219B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#21445D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45219b;
/* rgb */ color: rgb(69, 33, 155);
/* oklch */ color: oklch(38.2% 0.181 288.0);
Tailwind
colors: {
  custom: {
    50: '#8361ba',
    500: '#45219b',
    950: '#000000',
  },
}
SCSS
$custom: #45219b;
$custom-light: #8361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45219b",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 257.705,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.18127,
    "h": 288
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#45219B
secondary
#A1C058
accent
#E840B6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #45219B

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

Preview Lab → · Contrast checker → · Palette generator →

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