#4117A0#4117A0

#4117A0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.196 H 286.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4117A0
RGBrgb(65, 23, 160)
HSLhsl(258, 75%, 36%)
HSVhsv(258, 86%, 63%)
CMYKcmyk(59.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(24.56, 51.63, -65.24)
CIE-LCHlch(24.56, 83.20, 308.36°)
OKLaboklab(37.35% 0.0539 -0.1879)
OKLCHoklch(37.35% 0.196 286)
XYZxyz(8.8296, 4.2741, 33.6106)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4117A0 #76A017
analogous
#1732A0 #4117A0 #8517A0
triadic
#4117A0 #A04117 #17A041
tetradic
#4117A0 #A01732 #76A017 #17A085
square
#4117A0 #A01732 #76A017 #17A085
split-complementary
#4117A0 #A08517 #32A017
monochromatic
#160835 #2B0F6A #4117A0 #571FD6 #7B4CE5

Accessibility & contrast

On white

11.32
#4117A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4117A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4117A0
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4117A0#FFFFFF#000000##FFFFFF
##4117A01.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#09435E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4117a0;
/* rgb */ color: rgb(65, 23, 160);
/* oklch */ color: oklch(37.3% 0.196 286.0);
Tailwind
colors: {
  custom: {
    50: '#825cbd',
    500: '#4117a0',
    950: '#000000',
  },
}
SCSS
$custom: #4117a0;
$custom-light: #825cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4117a0",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 258.394,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37349,
    "c": 0.19551,
    "h": 286
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#4117A0
secondary
#A1C74C
accent
#F136B8
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4117A0

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

Preview Lab → · Contrast checker → · Palette generator →

#4117A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva