#41175D#41175D

#41175D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.120 H 308.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#41175D
RGBrgb(65, 23, 93)
HSLhsl(276, 60%, 23%)
HSVhsv(276, 75%, 36%)
CMYKcmyk(30.1%, 75.3%, 0%, 63.5%)
CIE-LABlab(18.04, 33.64, -33.33)
CIE-LCHlch(18.04, 47.36, 315.26°)
OKLaboklab(30.83% 0.0746 -0.0945)
OKLCHoklch(30.83% 0.12 308.3)
XYZxyz(4.4617, 2.5270, 10.6065)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41175D #335D17
analogous
#1E175D #41175D #5D1756
triadic
#41175D #5D4117 #175D41
tetradic
#41175D #5D1E17 #335D17 #17565D
square
#41175D #5D1E17 #335D17 #17565D
split-complementary
#41175D #565D17 #175D1E
monochromatic
#110619 #1F0B2C #41175D #63238E #862FBF

Accessibility & contrast

On white

13.95
#41175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#41175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41175D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41175D#FFFFFF#000000##FFFFFF
##41175D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41175d;
/* rgb */ color: rgb(65, 23, 93);
/* oklch */ color: oklch(30.8% 0.120 308.3);
Tailwind
colors: {
  custom: {
    50: '#79588b',
    500: '#41175d',
    950: '#000000',
  },
}
SCSS
$custom: #41175d;
$custom-light: #79588b;
$custom-dark: #000000;
JSON
{
  "hex": "#41175d",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 276,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.1204,
    "h": 308.3
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#41175D
secondary
#5F943C
accent
#E34484
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41175D

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

Preview Lab → · Contrast checker → · Palette generator →

#41175D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva