#45247C#45247C

#45247C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.141 H 295.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#45247C
RGBrgb(69, 36, 124)
HSLhsl(263, 55%, 31%)
HSVhsv(263, 71%, 49%)
CMYKcmyk(44.4%, 71%, 0%, 51.4%)
CIE-LABlab(23.61, 36.03, -44.40)
CIE-LCHlch(23.61, 57.18, 309.06°)
OKLaboklab(35.73% 0.0608 -0.1269)
OKLCHoklch(35.73% 0.141 295.6)
XYZxyz(6.7222, 3.9820, 19.4793)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45247C #5B7C24
analogous
#242F7C #45247C #71247C
triadic
#45247C #7C4524 #247C45
tetradic
#45247C #7C242F #5B7C24 #247C71
square
#45247C #7C242F #5B7C24 #247C71
split-complementary
#45247C #7C7124 #2F7C24
monochromatic
#10081D #2B164D #45247C #5F32AB #7E4FCC

Accessibility & contrast

On white

11.69
#45247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45247C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45247C#FFFFFF#000000##FFFFFF
##45247C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#36394D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #45247c;
/* rgb */ color: rgb(69, 36, 124);
/* oklch */ color: oklch(35.7% 0.141 295.6);
Tailwind
colors: {
  custom: {
    50: '#7e61a3',
    500: '#45247c',
    950: '#000000',
  },
}
SCSS
$custom: #45247c;
$custom-light: #7e61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#45247c",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 262.5,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.14071,
    "h": 295.6
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#45247C
secondary
#8AAE4D
accent
#DE49A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45247C

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

Preview Lab → · Contrast checker → · Palette generator →

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