#45259F#45259F

#45259F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.182 H 286.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#45259F
RGBrgb(69, 37, 159)
HSLhsl(256, 62%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(56.6%, 76.7%, 0%, 37.6%)
CIE-LABlab(26.99, 45.68, -60.60)
CIE-LCHlch(26.99, 75.89, 307.01°)
OKLaboklab(39.11% 0.0518 -0.1744)
OKLCHoklch(39.11% 0.182 286.5)
XYZxyz(9.3719, 5.0910, 33.2830)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45259F #7F9F25
analogous
#25429F #45259F #82259F
triadic
#45259F #9F4525 #259F45
tetradic
#45259F #9F2542 #7F9F25 #259F82
square
#45259F #9F2542 #7F9F25 #259F82
split-complementary
#45259F #9F8225 #429F25
monochromatic
#1A0E3C #2F196D #45259F #5B32CF #8364DB

Accessibility & contrast

On white

10.40
#45259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#45259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45259F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45259F#FFFFFF#000000##FFFFFF
##45259F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1C4761
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45259f;
/* rgb */ color: rgb(69, 37, 159);
/* oklch */ color: oklch(39.1% 0.182 286.5);
Tailwind
colors: {
  custom: {
    50: '#8363bc',
    500: '#45259f',
    950: '#000000',
  },
}
SCSS
$custom: #45259f;
$custom-light: #8363bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45259f",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 255.738,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.18197,
    "h": 286.5
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#45259F
secondary
#A7C05F
accent
#E542BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45259F

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

Preview Lab → · Contrast checker → · Palette generator →

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