#45259C#45259C

#45259C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.178 H 287.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#45259C
RGBrgb(69, 37, 156)
HSLhsl(256, 62%, 38%)
HSVhsv(256, 76%, 61%)
CMYKcmyk(55.8%, 76.3%, 0%, 38.8%)
CIE-LABlab(26.70, 44.80, -59.25)
CIE-LCHlch(26.70, 74.28, 307.10°)
OKLaboklab(38.81% 0.0526 -0.1705)
OKLCHoklch(38.81% 0.178 287.2)
XYZxyz(9.1148, 4.9882, 31.9286)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45259C #7C9C25
analogous
#25419C #45259C #80259C
triadic
#45259C #9C4525 #259C45
tetradic
#45259C #9C2541 #7C9C25 #259C80
square
#45259C #9C2541 #7C9C25 #259C80
split-complementary
#45259C #9C8025 #419C25
monochromatic
#190E39 #2F196B #45259C #5B31CD #8262DA

Accessibility & contrast

On white

10.51
#45259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45259C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45259C#FFFFFF#000000##FFFFFF
##45259C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#1F465F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45259c;
/* rgb */ color: rgb(69, 37, 156);
/* oklch */ color: oklch(38.8% 0.178 287.2);
Tailwind
colors: {
  custom: {
    50: '#8363ba',
    500: '#45259c',
    950: '#000000',
  },
}
SCSS
$custom: #45259c;
$custom-light: #8363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45259c",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 256.134,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38812,
    "c": 0.17843,
    "h": 287.2
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#45259C
secondary
#A5BF5E
accent
#E543B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45259C

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

Preview Lab → · Contrast checker → · Palette generator →

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