#45248B#45248B

#45248B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.159 H 291.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#45248B
RGBrgb(69, 36, 139)
HSLhsl(259, 59%, 34%)
HSVhsv(259, 74%, 55%)
CMYKcmyk(50.4%, 74.1%, 0%, 45.5%)
CIE-LABlab(24.92, 40.37, -51.68)
CIE-LCHlch(24.92, 65.58, 307.99°)
OKLaboklab(37.07% 0.0577 -0.1483)
OKLCHoklch(37.07% 0.159 291.3)
XYZxyz(7.7440, 4.3907, 24.8606)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45248B #6A8B24
analogous
#24378B #45248B #79248B
triadic
#45248B #8B4524 #248B45
tetradic
#45248B #8B2437 #6A8B24 #248B79
square
#45248B #8B2437 #6A8B24 #248B79
split-complementary
#45248B #8B7924 #378B24
monochromatic
#150B2A #2D175A #45248B #5D31BC #7E56D3

Accessibility & contrast

On white

11.18
#45248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#45248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45248B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45248B#FFFFFF#000000##FFFFFF
##45248B1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#2E3F55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #45248b;
/* rgb */ color: rgb(69, 36, 139);
/* oklch */ color: oklch(37.1% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#8062ae',
    500: '#45248b',
    950: '#000000',
  },
}
SCSS
$custom: #45248b;
$custom-light: #8062ae;
$custom-dark: #000000;
JSON
{
  "hex": "#45248b",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 259.223,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.15914,
    "h": 291.3
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45248B

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

Preview Lab → · Contrast checker → · Palette generator →

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