#45259A#45259A

#45259A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.176 H 287.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#45259A
RGBrgb(69, 37, 154)
HSLhsl(256, 61%, 37%)
HSVhsv(256, 76%, 60%)
CMYKcmyk(55.2%, 76%, 0%, 39.6%)
CIE-LABlab(26.51, 44.22, -58.34)
CIE-LCHlch(26.51, 73.21, 307.16°)
OKLaboklab(38.62% 0.0532 -0.1678)
OKLCHoklch(38.62% 0.176 287.6)
XYZxyz(8.9468, 4.9210, 31.0440)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45259A #7A9A25
analogous
#25409A #45259A #7F259A
triadic
#45259A #9A4525 #259A45
tetradic
#45259A #9A2540 #7A9A25 #259A7F
square
#45259A #9A2540 #7A9A25 #259A7F
split-complementary
#45259A #9A7F25 #409A25
monochromatic
#190D37 #2F1969 #45259A #5B31CB #8160D9

Accessibility & contrast

On white

10.58
#45259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#45259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45259A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45259A#FFFFFF#000000##FFFFFF
##45259A1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#21455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45259a;
/* rgb */ color: rgb(69, 37, 154);
/* oklch */ color: oklch(38.6% 0.176 287.6);
Tailwind
colors: {
  custom: {
    50: '#8263b9',
    500: '#45259a',
    950: '#000000',
  },
}
SCSS
$custom: #45259a;
$custom-light: #8263b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45259a",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 256.41,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.17605,
    "h": 287.6
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#45259A
secondary
#A3BE5D
accent
#E443B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45259A

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

Preview Lab → · Contrast checker → · Palette generator →

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