#41115F#41115F

#41115F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.130 H 308.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#41115F
RGBrgb(65, 17, 95)
HSLhsl(277, 70%, 22%)
HSVhsv(277, 82%, 37%)
CMYKcmyk(31.6%, 82.1%, 0%, 62.7%)
CIE-LABlab(17.23, 36.91, -35.98)
CIE-LCHlch(17.23, 51.54, 315.73°)
OKLaboklab(30.31% 0.0807 -0.1022)
OKLCHoklch(30.31% 0.13 308.3)
XYZxyz(4.4455, 2.3510, 11.0439)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41115F #2F5F11
analogous
#1A115F #41115F #5F1156
triadic
#41115F #5F4111 #115F41
tetradic
#41115F #5F1A11 #2F5F11 #11565F
square
#41115F #5F1A11 #2F5F11 #11565F
split-complementary
#41115F #565F11 #115F1A
monochromatic
#12051A #1D082B #41115F #651A93 #8824C7

Accessibility & contrast

On white

14.28
#41115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#41115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41115F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41115F#FFFFFF#000000##FFFFFF
##41115F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#3C2438
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #41115f;
/* rgb */ color: rgb(65, 17, 95);
/* oklch */ color: oklch(30.3% 0.130 308.3);
Tailwind
colors: {
  custom: {
    50: '#79558d',
    500: '#41115f',
    950: '#000000',
  },
}
SCSS
$custom: #41115f;
$custom-light: #79558d;
$custom-dark: #000000;
JSON
{
  "hex": "#41115f",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 276.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30313,
    "c": 0.13022,
    "h": 308.3
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#41115F
secondary
#5A9834
accent
#EC3B7F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41115F

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

Preview Lab → · Contrast checker → · Palette generator →

#41115F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva