#45259D#45259D

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

Color values

HEX#45259D
RGBrgb(69, 37, 157)
HSLhsl(256, 62%, 38%)
HSVhsv(256, 76%, 62%)
CMYKcmyk(56.1%, 76.4%, 0%, 38.4%)
CIE-LABlab(26.80, 45.10, -59.70)
CIE-LCHlch(26.80, 74.82, 307.07°)
OKLaboklab(38.91% 0.0524 -0.1718)
OKLCHoklch(38.91% 0.18 286.9)
XYZxyz(9.1998, 5.0222, 32.3764)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45259D #7D9D25
analogous
#25419D #45259D #81259D
triadic
#45259D #9D4525 #259D45
tetradic
#45259D #9D2541 #7D9D25 #259D81
square
#45259D #9D2541 #7D9D25 #259D81
split-complementary
#45259D #9D8125 #419D25
monochromatic
#190E3A #2F196B #45259D #5B31CE #8262DA

Accessibility & contrast

On white

10.48
#45259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#45259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45259D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45259D#FFFFFF#000000##FFFFFF
##45259D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45259d;
/* rgb */ color: rgb(69, 37, 157);
/* oklch */ color: oklch(38.9% 0.180 286.9);
Tailwind
colors: {
  custom: {
    50: '#8363bb',
    500: '#45259d',
    950: '#000000',
  },
}
SCSS
$custom: #45259d;
$custom-light: #8363bb;
$custom-dark: #000000;
JSON
{
  "hex": "#45259d",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 256,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.17961,
    "h": 286.9
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#45259D
secondary
#A6BF5E
accent
#E543BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45259D

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

Preview Lab → · Contrast checker → · Palette generator →

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