#45258A#45258A

#45258A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.157 H 291.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#45258A
RGBrgb(69, 37, 138)
HSLhsl(259, 58%, 34%)
HSVhsv(259, 73%, 54%)
CMYKcmyk(50%, 73.2%, 0%, 45.9%)
CIE-LABlab(25.02, 39.54, -50.90)
CIE-LCHlch(25.02, 64.45, 307.84°)
OKLaboklab(37.11% 0.057 -0.146)
OKLCHoklch(37.11% 0.157 291.3)
XYZxyz(7.7020, 4.4230, 24.4877)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45258A #6A8A25
analogous
#25388A #45258A #78258A
triadic
#45258A #8A4525 #258A45
tetradic
#45258A #8A2538 #6A8A25 #258A78
square
#45258A #8A2538 #6A8A25 #258A78
split-complementary
#45258A #8A7825 #388A25
monochromatic
#150B29 #2D185A #45258A #5D32BA #7E57D2

Accessibility & contrast

On white

11.14
#45258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#45258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45258A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45258A#FFFFFF#000000##FFFFFF
##45258A1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#2E3F55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #45258a;
/* rgb */ color: rgb(69, 37, 138);
/* oklch */ color: oklch(37.1% 0.157 291.3);
Tailwind
colors: {
  custom: {
    50: '#8062ad',
    500: '#45258a',
    950: '#000000',
  },
}
SCSS
$custom: #45258a;
$custom-light: #8062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#45258a",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 259.01,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37114,
    "c": 0.15674,
    "h": 291.3
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#45258A
secondary
#97B754
accent
#E147B0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #45258A

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

Preview Lab → · Contrast checker → · Palette generator →

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