#45259B#45259B

#45259B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.177 H 287.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#45259B
RGBrgb(69, 37, 155)
HSLhsl(256, 61%, 38%)
HSVhsv(256, 76%, 61%)
CMYKcmyk(55.5%, 76.1%, 0%, 39.2%)
CIE-LABlab(26.60, 44.51, -58.80)
CIE-LCHlch(26.60, 73.75, 307.13°)
OKLaboklab(38.71% 0.0529 -0.1692)
OKLCHoklch(38.71% 0.177 287.4)
XYZxyz(9.0304, 4.9544, 31.4845)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45259B #7B9B25
analogous
#25409B #45259B #80259B
triadic
#45259B #9B4525 #259B45
tetradic
#45259B #9B2540 #7B9B25 #259B80
square
#45259B #9B2540 #7B9B25 #259B80
split-complementary
#45259B #9B8025 #409B25
monochromatic
#190D38 #2F196A #45259B #5B31CC #8261D9

Accessibility & contrast

On white

10.55
#45259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#45259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45259B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45259B#FFFFFF#000000##FFFFFF
##45259B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#20465E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45259b;
/* rgb */ color: rgb(69, 37, 155);
/* oklch */ color: oklch(38.7% 0.177 287.4);
Tailwind
colors: {
  custom: {
    50: '#8363ba',
    500: '#45259b',
    950: '#000000',
  },
}
SCSS
$custom: #45259b;
$custom-light: #8363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45259b",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 256.271,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.17724,
    "h": 287.4
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45259B

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

Preview Lab → · Contrast checker → · Palette generator →

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