#41175E#41175E

#41175E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.122 H 307.8°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#41175E
RGBrgb(65, 23, 94)
HSLhsl(275, 61%, 23%)
HSVhsv(275, 76%, 37%)
CMYKcmyk(30.9%, 75.5%, 0%, 63.1%)
CIE-LABlab(18.12, 33.90, -33.87)
CIE-LCHlch(18.12, 47.92, 315.02°)
OKLaboklab(30.92% 0.0745 -0.096)
OKLCHoklch(30.92% 0.122 307.8)
XYZxyz(4.5063, 2.5448, 10.8413)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41175E #345E17
analogous
#1D175E #41175E #5E1757
triadic
#41175E #5E4117 #175E41
tetradic
#41175E #5E1D17 #345E17 #17575E
square
#41175E #5E1D17 #345E17 #17575E
split-complementary
#41175E #575E17 #175E1D
monochromatic
#110619 #1F0B2D #41175E #63238F #852FC0

Accessibility & contrast

On white

13.92
#41175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41175E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41175E#FFFFFF#000000##FFFFFF
##41175E1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#042D5C
Tritanopia (blue-blind)
#3C2738
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41175e;
/* rgb */ color: rgb(65, 23, 94);
/* oklch */ color: oklch(30.9% 0.122 307.8);
Tailwind
colors: {
  custom: {
    50: '#79588c',
    500: '#41175e',
    950: '#000000',
  },
}
SCSS
$custom: #41175e;
$custom-light: #79588c;
$custom-dark: #000000;
JSON
{
  "hex": "#41175e",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 275.493,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30916,
    "c": 0.12155,
    "h": 307.8
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#41175E
secondary
#60953C
accent
#E44485
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41175E

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

Preview Lab → · Contrast checker → · Palette generator →

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