#45258E#45258E

#45258E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 290.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#45258E
RGBrgb(69, 37, 142)
HSLhsl(258, 59%, 35%)
HSVhsv(258, 74%, 56%)
CMYKcmyk(51.4%, 73.9%, 0%, 44.3%)
CIE-LABlab(25.38, 40.71, -52.79)
CIE-LCHlch(25.38, 66.67, 307.64°)
OKLaboklab(37.48% 0.0561 -0.1516)
OKLCHoklch(37.48% 0.162 290.3)
XYZxyz(7.9969, 4.5410, 26.0411)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45258E #6E8E25
analogous
#25398E #45258E #7A258E
triadic
#45258E #8E4525 #258E45
tetradic
#45258E #8E2539 #6E8E25 #258E7A
square
#45258E #8E2539 #6E8E25 #258E7A
split-complementary
#45258E #8E7A25 #398E25
monochromatic
#160C2D #2D185D #45258E #5D32BF #7F5AD4

Accessibility & contrast

On white

11.01
#45258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#45258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45258E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45258E#FFFFFF#000000##FFFFFF
##45258E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#2C4157
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45258e;
/* rgb */ color: rgb(69, 37, 142);
/* oklch */ color: oklch(37.5% 0.162 290.3);
Tailwind
colors: {
  custom: {
    50: '#8063b0',
    500: '#45258e',
    950: '#000000',
  },
}
SCSS
$custom: #45258e;
$custom-light: #8063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#45258e",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 258.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.16162,
    "h": 290.3
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#45258E
secondary
#9BB956
accent
#E246B2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #45258E

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

Preview Lab → · Contrast checker → · Palette generator →

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