#45249E#45249E

#45249E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.182 H 286.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#45249E
RGBrgb(69, 36, 158)
HSLhsl(256, 63%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(56.3%, 77.2%, 0%, 38%)
CIE-LABlab(26.72, 45.89, -60.44)
CIE-LCHlch(26.72, 75.88, 307.21°)
OKLaboklab(38.89% 0.0528 -0.1739)
OKLCHoklch(38.89% 0.182 286.9)
XYZxyz(9.2548, 4.9951, 32.8176)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45249E #7D9E24
analogous
#24409E #45249E #82249E
triadic
#45249E #9E4524 #249E45
tetradic
#45249E #9E2440 #7D9E24 #249E82
square
#45249E #9E2440 #7D9E24 #249E82
split-complementary
#45249E #9E8224 #409E24
monochromatic
#190D3A #2F196C #45249E #5B2FD0 #8261DB

Accessibility & contrast

On white

10.50
#45249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#45249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45249E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45249E#FFFFFF#000000##FFFFFF
##45249E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#1D4760
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45249e;
/* rgb */ color: rgb(69, 36, 158);
/* oklch */ color: oklch(38.9% 0.182 286.9);
Tailwind
colors: {
  custom: {
    50: '#8363bc',
    500: '#45249e',
    950: '#000000',
  },
}
SCSS
$custom: #45249e;
$custom-light: #8363bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45249e",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 256.23,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.1818,
    "h": 286.9
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#45249E
secondary
#A6C05E
accent
#E642BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45249E

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

Preview Lab → · Contrast checker → · Palette generator →

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