#45258C#45258C

#45258C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.159 H 290.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#45258C
RGBrgb(69, 37, 140)
HSLhsl(259, 58%, 35%)
HSVhsv(259, 74%, 55%)
CMYKcmyk(50.7%, 73.6%, 0%, 45.1%)
CIE-LABlab(25.20, 40.13, -51.85)
CIE-LCHlch(25.20, 65.56, 307.74°)
OKLaboklab(37.3% 0.0566 -0.1488)
OKLCHoklch(37.3% 0.159 290.8)
XYZxyz(7.8481, 4.4815, 25.2574)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45258C #6C8C25
analogous
#25388C #45258C #79258C
triadic
#45258C #8C4525 #258C45
tetradic
#45258C #8C2538 #6C8C25 #258C79
square
#45258C #8C2538 #6C8C25 #258C79
split-complementary
#45258C #8C7925 #388C25
monochromatic
#150B2B #2D185C #45258C #5D32BC #7E58D3

Accessibility & contrast

On white

11.07
#45258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#45258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45258C
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45258C#FFFFFF#000000##FFFFFF
##45258C1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#2D4056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45258c;
/* rgb */ color: rgb(69, 37, 140);
/* oklch */ color: oklch(37.3% 0.159 290.8);
Tailwind
colors: {
  custom: {
    50: '#8063af',
    500: '#45258c',
    950: '#000000',
  },
}
SCSS
$custom: #45258c;
$custom-light: #8063af;
$custom-dark: #000000;
JSON
{
  "hex": "#45258c",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 258.641,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.15919,
    "h": 290.8
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#45258C
secondary
#99B855
accent
#E146B1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #45258C

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

Preview Lab → · Contrast checker → · Palette generator →

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