#45247D#45247D

#45247D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.142 H 295.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#45247D
RGBrgb(69, 36, 125)
HSLhsl(262, 55%, 32%)
HSVhsv(262, 71%, 49%)
CMYKcmyk(44.8%, 71.2%, 0%, 51%)
CIE-LABlab(23.70, 36.32, -44.89)
CIE-LCHlch(23.70, 57.75, 308.97°)
OKLaboklab(35.82% 0.0606 -0.1284)
OKLCHoklch(35.82% 0.142 295.3)
XYZxyz(6.7858, 4.0075, 19.8141)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45247D #5C7D24
analogous
#24307D #45247D #72247D
triadic
#45247D #7D4524 #247D45
tetradic
#45247D #7D2430 #5C7D24 #247D72
square
#45247D #7D2430 #5C7D24 #247D72
split-complementary
#45247D #7D7224 #307D24
monochromatic
#11091E #2B164D #45247D #5F32AD #7E4FCC

Accessibility & contrast

On white

11.66
#45247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#45247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45247D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45247D#FFFFFF#000000##FFFFFF
##45247D1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#363A4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #45247d;
/* rgb */ color: rgb(69, 36, 125);
/* oklch */ color: oklch(35.8% 0.142 295.3);
Tailwind
colors: {
  custom: {
    50: '#7e61a3',
    500: '#45247d',
    950: '#000000',
  },
}
SCSS
$custom: #45247d;
$custom-light: #7e61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#45247d",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 262.247,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35817,
    "c": 0.14195,
    "h": 295.3
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#45247D
secondary
#8BAF4D
accent
#DF49A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45247D

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

Preview Lab → · Contrast checker → · Palette generator →

#45247D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva