#45248D#45248D

#45248D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.162 H 290.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#45248D
RGBrgb(69, 36, 141)
HSLhsl(259, 59%, 35%)
HSVhsv(259, 74%, 55%)
CMYKcmyk(51.1%, 74.5%, 0%, 44.7%)
CIE-LABlab(25.11, 40.95, -52.63)
CIE-LCHlch(25.11, 66.68, 307.89°)
OKLaboklab(37.26% 0.0573 -0.1511)
OKLCHoklch(37.26% 0.162 290.8)
XYZxyz(7.8915, 4.4497, 25.6372)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45248D #6C8D24
analogous
#24388D #45248D #7A248D
triadic
#45248D #8D4524 #248D45
tetradic
#45248D #8D2438 #6C8D24 #248D7A
square
#45248D #8D2438 #6C8D24 #248D7A
split-complementary
#45248D #8D7A24 #388D24
monochromatic
#150B2B #2D185C #45248D #5D30BE #7E57D4

Accessibility & contrast

On white

11.11
#45248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#45248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45248D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45248D#FFFFFF#000000##FFFFFF
##45248D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#2D4056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45248d;
/* rgb */ color: rgb(69, 36, 141);
/* oklch */ color: oklch(37.3% 0.162 290.8);
Tailwind
colors: {
  custom: {
    50: '#8062af',
    500: '#45248d',
    950: '#000000',
  },
}
SCSS
$custom: #45248d;
$custom-light: #8062af;
$custom-dark: #000000;
JSON
{
  "hex": "#45248d",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 258.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.16157,
    "h": 290.8
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#45248D
secondary
#99B854
accent
#E345B1
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #45248D

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

Preview Lab → · Contrast checker → · Palette generator →

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