#41155F#41155F

#41155F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.125 H 307.7°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#41155F
RGBrgb(65, 21, 95)
HSLhsl(276, 64%, 23%)
HSVhsv(276, 78%, 37%)
CMYKcmyk(31.6%, 77.9%, 0%, 62.7%)
CIE-LABlab(17.86, 35.12, -34.96)
CIE-LCHlch(17.86, 49.56, 315.13°)
OKLaboklab(30.76% 0.0766 -0.0992)
OKLCHoklch(30.76% 0.125 307.7)
XYZxyz(4.5133, 2.4864, 11.0664)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41155F #335F15
analogous
#1C155F #41155F #5F1558
triadic
#41155F #5F4115 #155F41
tetradic
#41155F #5F1C15 #335F15 #15585F
square
#41155F #5F1C15 #335F15 #15585F
split-complementary
#41155F #585F15 #155F1C
monochromatic
#110619 #1F0A2D #41155F #632091 #862BC3

Accessibility & contrast

On white

14.03
#41155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#41155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41155F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41155F#FFFFFF#000000##FFFFFF
##41155F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#3C2638
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41155f;
/* rgb */ color: rgb(65, 21, 95);
/* oklch */ color: oklch(30.8% 0.125 307.7);
Tailwind
colors: {
  custom: {
    50: '#79578d',
    500: '#41155f',
    950: '#000000',
  },
}
SCSS
$custom: #41155f;
$custom-light: #79578d;
$custom-dark: #000000;
JSON
{
  "hex": "#41155f",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 275.676,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30755,
    "c": 0.12534,
    "h": 307.7
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#41155F
secondary
#5F963A
accent
#E74184
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41155F

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

Preview Lab → · Contrast checker → · Palette generator →

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