#45248F#45248F

#45248F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.164 H 290.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#45248F
RGBrgb(69, 36, 143)
HSLhsl(259, 60%, 35%)
HSVhsv(259, 75%, 56%)
CMYKcmyk(51.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(25.29, 41.53, -53.57)
CIE-LCHlch(25.29, 67.78, 307.78°)
OKLaboklab(37.44% 0.0568 -0.1538)
OKLCHoklch(37.44% 0.164 290.3)
XYZxyz(8.0416, 4.5098, 26.4280)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45248F #6E8F24
analogous
#24388F #45248F #7B248F
triadic
#45248F #8F4524 #248F45
tetradic
#45248F #8F2438 #6E8F24 #248F7B
square
#45248F #8F2438 #6E8F24 #248F7B
split-complementary
#45248F #8F7B24 #388F24
monochromatic
#160B2D #2D185E #45248F #5D30C0 #7F58D5

Accessibility & contrast

On white

11.04
#45248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#45248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45248F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45248F#FFFFFF#000000##FFFFFF
##45248F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2B4157
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45248f;
/* rgb */ color: rgb(69, 36, 143);
/* oklch */ color: oklch(37.4% 0.164 290.3);
Tailwind
colors: {
  custom: {
    50: '#8162b1',
    500: '#45248f',
    950: '#000000',
  },
}
SCSS
$custom: #45248f;
$custom-light: #8162b1;
$custom-dark: #000000;
JSON
{
  "hex": "#45248f",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 258.505,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.16398,
    "h": 290.3
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#45248F
secondary
#9BB955
accent
#E345B2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #45248F

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

Preview Lab → · Contrast checker → · Palette generator →

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