#41175B#41175B

#41175B is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.7% C 0.118 H 309.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#41175B
RGBrgb(65, 23, 91)
HSLhsl(277, 60%, 22%)
HSVhsv(277, 75%, 36%)
CMYKcmyk(28.6%, 74.7%, 0%, 64.3%)
CIE-LABlab(17.88, 33.14, -32.25)
CIE-LCHlch(17.88, 46.24, 315.77°)
OKLaboklab(30.67% 0.0749 -0.0913)
OKLCHoklch(30.67% 0.118 309.4)
XYZxyz(4.3743, 2.4920, 10.1461)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41175B #315B17
analogous
#1F175B #41175B #5B1753
triadic
#41175B #5B4117 #175B41
tetradic
#41175B #5B1F17 #315B17 #17535B
square
#41175B #5B1F17 #315B17 #17535B
split-complementary
#41175B #535B17 #175B1F
monochromatic
#110618 #1E0B2A #41175B #64238C #8730BD

Accessibility & contrast

On white

14.01
#41175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41175B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41175B#FFFFFF#000000##FFFFFF
##41175B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#0A2C5A
Tritanopia (blue-blind)
#3D2637
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41175b;
/* rgb */ color: rgb(65, 23, 91);
/* oklch */ color: oklch(30.7% 0.118 309.4);
Tailwind
colors: {
  custom: {
    50: '#79588a',
    500: '#41175b',
    950: '#000000',
  },
}
SCSS
$custom: #41175b;
$custom-light: #79588a;
$custom-dark: #000000;
JSON
{
  "hex": "#41175b",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 277.059,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30671,
    "c": 0.11812,
    "h": 309.4
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#41175B
secondary
#5D923C
accent
#E34581
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41175B

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

Preview Lab → · Contrast checker → · Palette generator →

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