#41125F#41125F

#41125F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.129 H 308.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#41125F
RGBrgb(65, 18, 95)
HSLhsl(277, 68%, 22%)
HSVhsv(277, 81%, 37%)
CMYKcmyk(31.6%, 81.1%, 0%, 62.7%)
CIE-LABlab(17.38, 36.49, -35.74)
CIE-LCHlch(17.38, 51.07, 315.60°)
OKLaboklab(30.42% 0.0797 -0.1015)
OKLCHoklch(30.42% 0.129 308.2)
XYZxyz(4.4614, 2.3827, 11.0491)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41125F #305F12
analogous
#1A125F #41125F #5F1257
triadic
#41125F #5F4112 #125F41
tetradic
#41125F #5F1A12 #305F12 #12575F
square
#41125F #5F1A12 #305F12 #12575F
split-complementary
#41125F #575F12 #125F1A
monochromatic
#12051A #1E082C #41125F #641C92 #8725C6

Accessibility & contrast

On white

14.22
#41125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#41125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41125F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41125F#FFFFFF#000000##FFFFFF
##41125F1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#3C2538
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #41125f;
/* rgb */ color: rgb(65, 18, 95);
/* oklch */ color: oklch(30.4% 0.129 308.2);
Tailwind
colors: {
  custom: {
    50: '#79568d',
    500: '#41125f',
    950: '#000000',
  },
}
SCSS
$custom: #41125f;
$custom-light: #79568d;
$custom-dark: #000000;
JSON
{
  "hex": "#41125f",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 276.623,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30417,
    "c": 0.12906,
    "h": 308.2
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#41125F
secondary
#5C9736
accent
#EB3D81
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #41125F

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

Preview Lab → · Contrast checker → · Palette generator →

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