#41175C#41175C

#41175C is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.8% C 0.119 H 308.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#41175C
RGBrgb(65, 23, 92)
HSLhsl(277, 60%, 23%)
HSVhsv(277, 75%, 36%)
CMYKcmyk(29.3%, 75%, 0%, 63.9%)
CIE-LABlab(17.96, 33.39, -32.80)
CIE-LCHlch(17.96, 46.80, 315.51°)
OKLaboklab(30.75% 0.0748 -0.0929)
OKLCHoklch(30.75% 0.119 308.8)
XYZxyz(4.4177, 2.5094, 10.3748)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41175C #325C17
analogous
#1F175C #41175C #5C1754
triadic
#41175C #5C4117 #175C41
tetradic
#41175C #5C1F17 #325C17 #17545C
square
#41175C #5C1F17 #325C17 #17545C
split-complementary
#41175C #545C17 #175C1F
monochromatic
#110618 #1E0B2B #41175C #64238D #862FBE

Accessibility & contrast

On white

13.98
#41175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#41175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41175C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41175C#FFFFFF#000000##FFFFFF
##41175C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#082C5B
Tritanopia (blue-blind)
#3D2637
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41175c;
/* rgb */ color: rgb(65, 23, 92);
/* oklch */ color: oklch(30.8% 0.119 308.8);
Tailwind
colors: {
  custom: {
    50: '#79588b',
    500: '#41175c',
    950: '#000000',
  },
}
SCSS
$custom: #41175c;
$custom-light: #79588b;
$custom-dark: #000000;
JSON
{
  "hex": "#41175c",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 276.522,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30752,
    "c": 0.11925,
    "h": 308.8
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#41175C
secondary
#5E933C
accent
#E34583
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41175C

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

Preview Lab → · Contrast checker → · Palette generator →

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