#45259E#45259E

#45259E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.181 H 286.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#45259E
RGBrgb(69, 37, 158)
HSLhsl(256, 62%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(56.3%, 76.6%, 0%, 38%)
CIE-LABlab(26.90, 45.39, -60.15)
CIE-LCHlch(26.90, 75.35, 307.04°)
OKLaboklab(39.01% 0.0521 -0.1731)
OKLCHoklch(39.01% 0.181 286.7)
XYZxyz(9.2855, 5.0565, 32.8278)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45259E #7E9E25
analogous
#25419E #45259E #81259E
triadic
#45259E #9E4525 #259E45
tetradic
#45259E #9E2541 #7E9E25 #259E81
square
#45259E #9E2541 #7E9E25 #259E81
split-complementary
#45259E #9E8125 #419E25
monochromatic
#1A0E3B #2F196C #45259E #5B31CF #8363DA

Accessibility & contrast

On white

10.44
#45259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45259E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45259E#FFFFFF#000000##FFFFFF
##45259E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45259e;
/* rgb */ color: rgb(69, 37, 158);
/* oklch */ color: oklch(39.0% 0.181 286.7);
Tailwind
colors: {
  custom: {
    50: '#8363bc',
    500: '#45259e',
    950: '#000000',
  },
}
SCSS
$custom: #45259e;
$custom-light: #8363bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45259e",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 255.868,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.1808,
    "h": 286.7
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45259E

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

Preview Lab → · Contrast checker → · Palette generator →

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