#41175F#41175F

#41175F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.123 H 307.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#41175F
RGBrgb(65, 23, 95)
HSLhsl(275, 61%, 23%)
HSVhsv(275, 76%, 37%)
CMYKcmyk(31.6%, 75.8%, 0%, 62.7%)
CIE-LABlab(18.20, 34.15, -34.40)
CIE-LCHlch(18.20, 48.48, 314.79°)
OKLaboklab(31% 0.0743 -0.0976)
OKLCHoklch(31% 0.123 307.3)
XYZxyz(4.5515, 2.5629, 11.0792)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41175F #355F17
analogous
#1D175F #41175F #5F1759
triadic
#41175F #5F4117 #175F41
tetradic
#41175F #5F1D17 #355F17 #17595F
square
#41175F #5F1D17 #355F17 #17595F
split-complementary
#41175F #595F17 #175F1D
monochromatic
#110619 #1F0B2E #41175F #632390 #842FC2

Accessibility & contrast

On white

13.88
#41175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41175F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41175F#FFFFFF#000000##FFFFFF
##41175F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#022D5D
Tritanopia (blue-blind)
#3C2739
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41175f;
/* rgb */ color: rgb(65, 23, 95);
/* oklch */ color: oklch(31.0% 0.123 307.3);
Tailwind
colors: {
  custom: {
    50: '#79588d',
    500: '#41175f',
    950: '#000000',
  },
}
SCSS
$custom: #41175f;
$custom-light: #79588d;
$custom-dark: #000000;
JSON
{
  "hex": "#41175f",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 275,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.12269,
    "h": 307.3
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#41175F
secondary
#61963C
accent
#E44487
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41175F

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

Preview Lab → · Contrast checker → · Palette generator →

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