#45297E#45297E

#45297E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.136 H 293.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#45297E
RGBrgb(69, 41, 126)
HSLhsl(260, 51%, 33%)
HSVhsv(260, 67%, 49%)
CMYKcmyk(45.2%, 67.5%, 0%, 50.6%)
CIE-LABlab(24.82, 33.76, -43.70)
CIE-LCHlch(24.82, 55.22, 307.69°)
OKLaboklab(36.65% 0.0549 -0.1249)
OKLCHoklch(36.65% 0.136 293.7)
XYZxyz(7.0121, 4.3572, 20.2062)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45297E #627E29
analogous
#29377E #45297E #6F297E
triadic
#45297E #7E4529 #297E45
tetradic
#45297E #7E2937 #627E29 #297E6F
square
#45297E #7E2937 #627E29 #297E6F
split-complementary
#45297E #7E6F29 #377E29
monochromatic
#120B22 #2C1A50 #45297E #5E38AC #7E59C9

Accessibility & contrast

On white

11.22
#45297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#45297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45297E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45297E#FFFFFF#000000##FFFFFF
##45297E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#353D4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #45297e;
/* rgb */ color: rgb(69, 41, 126);
/* oklch */ color: oklch(36.6% 0.136 293.7);
Tailwind
colors: {
  custom: {
    50: '#7e64a4',
    500: '#45297e',
    950: '#000000',
  },
}
SCSS
$custom: #45297e;
$custom-light: #7e64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#45297e",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 259.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.13639,
    "h": 293.7
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#45297E
secondary
#91AE55
accent
#DA4DAC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #45297E

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

Preview Lab → · Contrast checker → · Palette generator →

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