#45249A#45249A

#45249A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.177 H 287.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#45249A
RGBrgb(69, 36, 154)
HSLhsl(257, 62%, 37%)
HSVhsv(257, 77%, 60%)
CMYKcmyk(55.2%, 76.6%, 0%, 39.6%)
CIE-LABlab(26.33, 44.73, -58.64)
CIE-LCHlch(26.33, 73.75, 307.34°)
OKLaboklab(38.49% 0.054 -0.1687)
OKLCHoklch(38.49% 0.177 287.7)
XYZxyz(8.9161, 4.8596, 31.0338)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45249A #799A24
analogous
#243E9A #45249A #80249A
triadic
#45249A #9A4524 #249A45
tetradic
#45249A #9A243E #799A24 #249A80
square
#45249A #9A243E #799A24 #249A80
split-complementary
#45249A #9A8024 #3E9A24
monochromatic
#190D37 #2F1868 #45249A #5B30CC #815FDA

Accessibility & contrast

On white

10.65
#45249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#45249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45249A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45249A#FFFFFF#000000##FFFFFF
##45249A1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#21455D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45249a;
/* rgb */ color: rgb(69, 36, 154);
/* oklch */ color: oklch(38.5% 0.177 287.7);
Tailwind
colors: {
  custom: {
    50: '#8263b9',
    500: '#45249a',
    950: '#000000',
  },
}
SCSS
$custom: #45249a;
$custom-light: #8263b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45249a",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 256.78,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.1771,
    "h": 287.7
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#45249A
secondary
#A3BF5B
accent
#E543B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45249A

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

Preview Lab → · Contrast checker → · Palette generator →

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