#45249D#45249D

#45249D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.181 H 287.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#45249D
RGBrgb(69, 36, 157)
HSLhsl(256, 63%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(56.1%, 77.1%, 0%, 38.4%)
CIE-LABlab(26.62, 45.60, -59.99)
CIE-LCHlch(26.62, 75.35, 307.24°)
OKLaboklab(38.79% 0.0531 -0.1726)
OKLCHoklch(38.79% 0.181 287.1)
XYZxyz(9.1691, 4.9608, 32.3661)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45249D #7C9D24
analogous
#243F9D #45249D #82249D
triadic
#45249D #9D4524 #249D45
tetradic
#45249D #9D243F #7C9D24 #249D82
square
#45249D #9D243F #7C9D24 #249D82
split-complementary
#45249D #9D8224 #3F9D24
monochromatic
#190D39 #2F196B #45249D #5B2FCF #8261DB

Accessibility & contrast

On white

10.54
#45249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#45249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45249D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45249D#FFFFFF#000000##FFFFFF
##45249D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#1E465F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45249d;
/* rgb */ color: rgb(69, 36, 157);
/* oklch */ color: oklch(38.8% 0.181 287.1);
Tailwind
colors: {
  custom: {
    50: '#8363bb',
    500: '#45249d',
    950: '#000000',
  },
}
SCSS
$custom: #45249d;
$custom-light: #8363bb;
$custom-dark: #000000;
JSON
{
  "hex": "#45249d",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 256.364,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.18063,
    "h": 287.1
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#45249D
secondary
#A5C05D
accent
#E642B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45249D

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

Preview Lab → · Contrast checker → · Palette generator →

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