#4117A1#4117A1

#4117A1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.197 H 285.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4117A1
RGBrgb(65, 23, 161)
HSLhsl(258, 75%, 36%)
HSVhsv(258, 86%, 63%)
CMYKcmyk(59.6%, 85.7%, 0%, 36.9%)
CIE-LABlab(24.67, 51.90, -65.67)
CIE-LCHlch(24.67, 83.70, 308.32°)
OKLaboklab(37.46% 0.0535 -0.1892)
OKLCHoklch(37.46% 0.197 285.8)
XYZxyz(8.9174, 4.3093, 34.0732)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4117A1 #77A117
analogous
#1732A1 #4117A1 #8617A1
triadic
#4117A1 #A14117 #17A141
tetradic
#4117A1 #A11732 #77A117 #17A186
square
#4117A1 #A11732 #77A117 #17A186
split-complementary
#4117A1 #A18617 #32A117
monochromatic
#160836 #2B0F6B #4117A1 #571FD7 #7B4DE6

Accessibility & contrast

On white

11.28
#4117A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4117A1
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4117A1#FFFFFF#000000##FFFFFF
##4117A11.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#07435F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4117a1;
/* rgb */ color: rgb(65, 23, 161);
/* oklch */ color: oklch(37.5% 0.197 285.8);
Tailwind
colors: {
  custom: {
    50: '#825cbe',
    500: '#4117a1',
    950: '#000000',
  },
}
SCSS
$custom: #4117a1;
$custom-light: #825cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4117a1",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 258.261,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.1966,
    "h": 285.8
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#4117A1
secondary
#A2C74C
accent
#F236B9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4117A1

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

Preview Lab → · Contrast checker → · Palette generator →

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