#41175A#41175A

#41175A is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.117 H 309.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#41175A
RGBrgb(65, 23, 90)
HSLhsl(278, 59%, 22%)
HSVhsv(278, 74%, 35%)
CMYKcmyk(27.8%, 74.4%, 0%, 64.7%)
CIE-LABlab(17.80, 32.89, -31.71)
CIE-LCHlch(17.80, 45.68, 316.04°)
OKLaboklab(30.59% 0.0751 -0.0897)
OKLCHoklch(30.59% 0.117 309.9)
XYZxyz(4.3315, 2.4749, 9.9204)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41175A #305A17
analogous
#20175A #41175A #5A1752
triadic
#41175A #5A4117 #175A41
tetradic
#41175A #5A2017 #305A17 #17525A
square
#41175A #5A2017 #305A17 #17525A
split-complementary
#41175A #525A17 #175A20
monochromatic
#120618 #1E0B29 #41175A #64238B #8730BB

Accessibility & contrast

On white

14.05
#41175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41175A
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41175A#FFFFFF#000000##FFFFFF
##41175A1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#0B2C59
Tritanopia (blue-blind)
#3E2536
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #41175a;
/* rgb */ color: rgb(65, 23, 90);
/* oklch */ color: oklch(30.6% 0.117 309.9);
Tailwind
colors: {
  custom: {
    50: '#785889',
    500: '#41175a',
    950: '#000000',
  },
}
SCSS
$custom: #41175a;
$custom-light: #785889;
$custom-dark: #000000;
JSON
{
  "hex": "#41175a",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 277.612,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30591,
    "c": 0.11697,
    "h": 309.9
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#41175A
secondary
#5C913C
accent
#E24580
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #41175A

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

Preview Lab → · Contrast checker → · Palette generator →

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