#45249B#45249B

#45249B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.178 H 287.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#45249B
RGBrgb(69, 36, 155)
HSLhsl(257, 62%, 37%)
HSVhsv(257, 77%, 61%)
CMYKcmyk(55.5%, 76.8%, 0%, 39.2%)
CIE-LABlab(26.43, 45.02, -59.09)
CIE-LCHlch(26.43, 74.28, 307.30°)
OKLaboklab(38.59% 0.0537 -0.17)
OKLCHoklch(38.59% 0.178 287.5)
XYZxyz(8.9998, 4.8930, 31.4742)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45249B #7A9B24
analogous
#243E9B #45249B #81249B
triadic
#45249B #9B4524 #249B45
tetradic
#45249B #9B243E #7A9B24 #249B81
square
#45249B #9B243E #7A9B24 #249B81
split-complementary
#45249B #9B8124 #3E9B24
monochromatic
#190D38 #2F1869 #45249B #5B30CD #815FDA

Accessibility & contrast

On white

10.61
#45249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#45249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45249B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45249B#FFFFFF#000000##FFFFFF
##45249B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#20455E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45249b;
/* rgb */ color: rgb(69, 36, 155);
/* oklch */ color: oklch(38.6% 0.178 287.5);
Tailwind
colors: {
  custom: {
    50: '#8363ba',
    500: '#45249b',
    950: '#000000',
  },
}
SCSS
$custom: #45249b;
$custom-light: #8363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45249b",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 256.639,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.17827,
    "h": 287.5
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#45249B
secondary
#A3BF5C
accent
#E542B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45249B

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

Preview Lab → · Contrast checker → · Palette generator →

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