#45248A#45248A

#45248A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.158 H 291.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#45248A
RGBrgb(69, 36, 138)
HSLhsl(259, 59%, 34%)
HSVhsv(259, 74%, 54%)
CMYKcmyk(50%, 73.9%, 0%, 45.9%)
CIE-LABlab(24.83, 40.08, -51.21)
CIE-LCHlch(24.83, 65.03, 308.05°)
OKLaboklab(36.98% 0.058 -0.1469)
OKLCHoklch(36.98% 0.158 291.5)
XYZxyz(7.6713, 4.3617, 24.4775)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45248A #698A24
analogous
#24368A #45248A #78248A
triadic
#45248A #8A4524 #248A45
tetradic
#45248A #8A2436 #698A24 #248A78
square
#45248A #8A2436 #698A24 #248A78
split-complementary
#45248A #8A7824 #368A24
monochromatic
#140B29 #2D1759 #45248A #5D31BB #7E56D3

Accessibility & contrast

On white

11.22
#45248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#45248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45248A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45248A#FFFFFF#000000##FFFFFF
##45248A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#2F3F54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #45248a;
/* rgb */ color: rgb(69, 36, 138);
/* oklch */ color: oklch(37.0% 0.158 291.5);
Tailwind
colors: {
  custom: {
    50: '#8062ad',
    500: '#45248a',
    950: '#000000',
  },
}
SCSS
$custom: #45248a;
$custom-light: #8062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#45248a",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 259.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36979,
    "c": 0.15793,
    "h": 291.5
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#45248A
secondary
#97B753
accent
#E246AF
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #45248A

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

Preview Lab → · Contrast checker → · Palette generator →

#45248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva