#4115A1#4115A1

#4115A1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.3% C 0.198 H 286.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4115A1
RGBrgb(65, 21, 161)
HSLhsl(259, 77%, 36%)
HSVhsv(259, 87%, 63%)
CMYKcmyk(59.6%, 87%, 0%, 36.9%)
CIE-LABlab(24.43, 52.62, -66.07)
CIE-LCHlch(24.43, 84.46, 308.54°)
OKLaboklab(37.29% 0.0544 -0.1903)
OKLCHoklch(37.29% 0.198 286)
XYZxyz(8.8792, 4.2328, 34.0604)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4115A1 #75A115
analogous
#152FA1 #4115A1 #8715A1
triadic
#4115A1 #A14115 #15A141
tetradic
#4115A1 #A1152F #75A115 #15A187
square
#4115A1 #A1152F #75A115 #15A187
split-complementary
#4115A1 #A18715 #2FA115
monochromatic
#150735 #2B0E6B #4115A1 #571CD7 #7B49E7

Accessibility & contrast

On white

11.37
#4115A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4115A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4115A1
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4115A1#FFFFFF#000000##FFFFFF
##4115A11.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4115a1;
/* rgb */ color: rgb(65, 21, 161);
/* oklch */ color: oklch(37.3% 0.198 286.0);
Tailwind
colors: {
  custom: {
    50: '#835cbe',
    500: '#4115a1',
    950: '#000000',
  },
}
SCSS
$custom: #4115a1;
$custom-light: #835cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4115a1",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 258.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.19795,
    "h": 286
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#4115A1
secondary
#A1C849
accent
#F334B7
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4115A1

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

Preview Lab → · Contrast checker → · Palette generator →

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