#41185F#41185F

#41185F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.121 H 307.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#41185F
RGBrgb(65, 24, 95)
HSLhsl(275, 60%, 23%)
HSVhsv(275, 75%, 37%)
CMYKcmyk(31.6%, 74.7%, 0%, 62.7%)
CIE-LABlab(18.38, 33.65, -34.11)
CIE-LCHlch(18.38, 47.92, 314.61°)
OKLaboklab(31.13% 0.0732 -0.0968)
OKLCHoklch(31.13% 0.121 307.1)
XYZxyz(4.5717, 2.6034, 11.0859)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41185F #365F18
analogous
#1D185F #41185F #5F1859
triadic
#41185F #5F4118 #185F41
tetradic
#41185F #5F1D18 #365F18 #18595F
square
#41185F #5F1D18 #365F18 #18595F
split-complementary
#41185F #595F18 #185F1D
monochromatic
#110618 #200C2E #41185F #622490 #8431C1

Accessibility & contrast

On white

13.81
#41185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#41185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41185F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41185F#FFFFFF#000000##FFFFFF
##41185F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#3C2839
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #41185f;
/* rgb */ color: rgb(65, 24, 95);
/* oklch */ color: oklch(31.1% 0.121 307.1);
Tailwind
colors: {
  custom: {
    50: '#79598d',
    500: '#41185f',
    950: '#000000',
  },
}
SCSS
$custom: #41185f;
$custom-light: #79598d;
$custom-dark: #000000;
JSON
{
  "hex": "#41185f",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 274.648,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31126,
    "c": 0.12132,
    "h": 307.1
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#41185F
secondary
#63953D
accent
#E34588
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #41185F

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

Preview Lab → · Contrast checker → · Palette generator →

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