#4517B4#4517B4

#4517B4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.9% C 0.217 H 284.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4517B4
RGBrgb(69, 23, 180)
HSLhsl(258, 77%, 40%)
HSVhsv(258, 87%, 71%)
CMYKcmyk(61.7%, 87.2%, 0%, 29.4%)
CIE-LABlab(27.22, 57.34, -72.88)
CIE-LCHlch(27.22, 92.74, 308.19°)
OKLaboklab(39.92% 0.0525 -0.2101)
OKLCHoklch(39.92% 0.217 284)
XYZxyz(10.9963, 5.1725, 43.5901)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4517B4 #86B417
analogous
#1737B4 #4517B4 #9417B4
triadic
#4517B4 #B44517 #17B445
tetradic
#4517B4 #B41737 #86B417 #17B494
square
#4517B4 #B41737 #86B417 #17B494
split-complementary
#4517B4 #B49417 #37B417
monochromatic
#1B0947 #30107E #4517B4 #5D25E3 #855BEA

Accessibility & contrast

On white

10.32
#4517B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4517B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4517B4
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4517B4#FFFFFF#000000##FFFFFF
##4517B41.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4517b4;
/* rgb */ color: rgb(69, 23, 180);
/* oklch */ color: oklch(39.9% 0.217 284.0);
Tailwind
colors: {
  custom: {
    50: '#885ecc',
    500: '#4517b4',
    950: '#000000',
  },
}
SCSS
$custom: #4517b4;
$custom-light: #885ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4517b4",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 257.58,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.21656,
    "h": 284
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#4517B4
secondary
#ACCE59
accent
#F434BC
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4517B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4517B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva