#41125C#41125C

#41125C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.126 H 309.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#41125C
RGBrgb(65, 18, 92)
HSLhsl(278, 67%, 22%)
HSVhsv(278, 80%, 36%)
CMYKcmyk(29.3%, 80.4%, 0%, 63.9%)
CIE-LABlab(17.13, 35.75, -34.14)
CIE-LCHlch(17.13, 49.44, 316.32°)
OKLaboklab(30.16% 0.0804 -0.0968)
OKLCHoklch(30.16% 0.126 309.7)
XYZxyz(4.3277, 2.3292, 10.3447)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41125C #2D5C12
analogous
#1C125C #41125C #5C1252
triadic
#41125C #5C4112 #125C41
tetradic
#41125C #5C1C12 #2D5C12 #12525C
square
#41125C #5C1C12 #2D5C12 #12525C
split-complementary
#41125C #525C12 #125C1C
monochromatic
#12051A #1D0829 #41125C #651C8F #8926C2

Accessibility & contrast

On white

14.33
#41125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#41125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41125C
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41125C#FFFFFF#000000##FFFFFF
##41125C1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#012B5A
Tritanopia (blue-blind)
#3D2436
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #41125c;
/* rgb */ color: rgb(65, 18, 92);
/* oklch */ color: oklch(30.2% 0.126 309.7);
Tailwind
colors: {
  custom: {
    50: '#79558b',
    500: '#41125c',
    950: '#000000',
  },
}
SCSS
$custom: #41125c;
$custom-light: #79558b;
$custom-dark: #000000;
JSON
{
  "hex": "#41125c",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 278.108,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30161,
    "c": 0.12584,
    "h": 309.7
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#41125C
secondary
#589435
accent
#EA3E7D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41125C

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

Preview Lab → · Contrast checker → · Palette generator →

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