#41185C#41185C

#41185C is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.9% C 0.118 H 308.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#41185C
RGBrgb(65, 24, 92)
HSLhsl(276, 59%, 23%)
HSVhsv(276, 74%, 36%)
CMYKcmyk(29.3%, 73.9%, 0%, 63.9%)
CIE-LABlab(18.14, 32.88, -32.50)
CIE-LCHlch(18.14, 46.23, 315.33°)
OKLaboklab(30.88% 0.0736 -0.092)
OKLCHoklch(30.88% 0.118 308.6)
XYZxyz(4.4380, 2.5499, 10.3815)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41185C #335C18
analogous
#1F185C #41185C #5C1855
triadic
#41185C #5C4118 #185C41
tetradic
#41185C #5C1F18 #335C18 #18555C
square
#41185C #5C1F18 #335C18 #18555C
split-complementary
#41185C #555C18 #185C1F
monochromatic
#110618 #1F0B2B #41185C #63258D #8631BD

Accessibility & contrast

On white

13.91
#41185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#41185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41185C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41185C#FFFFFF#000000##FFFFFF
##41185C1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#092D5B
Tritanopia (blue-blind)
#3D2738
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41185c;
/* rgb */ color: rgb(65, 24, 92);
/* oklch */ color: oklch(30.9% 0.118 308.6);
Tailwind
colors: {
  custom: {
    50: '#79598b',
    500: '#41185c',
    950: '#000000',
  },
}
SCSS
$custom: #41185c;
$custom-light: #79598b;
$custom-dark: #000000;
JSON
{
  "hex": "#41185c",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 276.176,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30882,
    "c": 0.11783,
    "h": 308.6
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#41185C
secondary
#5F933D
accent
#E24684
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41185C

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

Preview Lab → · Contrast checker → · Palette generator →

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