#41285F#41285F

#41285F is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.6% C 0.096 H 302.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#41285F
RGBrgb(65, 40, 95)
HSLhsl(267, 41%, 26%)
HSVhsv(267, 58%, 37%)
CMYKcmyk(31.6%, 57.9%, 0%, 62.7%)
CIE-LABlab(21.83, 24.35, -28.57)
CIE-LCHlch(21.83, 37.54, 310.44°)
OKLaboklab(33.63% 0.0514 -0.0806)
OKLCHoklch(33.63% 0.096 302.6)
XYZxyz(5.0039, 3.4676, 11.2300)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41285F #465F28
analogous
#282B5F #41285F #5D285F
triadic
#41285F #5F4128 #285F41
tetradic
#41285F #5F282B #465F28 #285F5D
square
#41285F #5F282B #465F28 #285F5D
split-complementary
#41285F #5F5D28 #2B5F28
monochromatic
#0F0916 #241634 #41285F #5E3A8A #7C4DB4

Accessibility & contrast

On white

12.40
#41285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#41285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41285F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41285F#FFFFFF#000000##FFFFFF
##41285F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143461
Deuteranopia (green-blind)
#1C345E
Tritanopia (blue-blind)
#3B323F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #41285f;
/* rgb */ color: rgb(65, 40, 95);
/* oklch */ color: oklch(33.6% 0.096 302.6);
Tailwind
colors: {
  custom: {
    50: '#78638d',
    500: '#41285f',
    950: '#000000',
  },
}
SCSS
$custom: #41285f;
$custom-light: #78638d;
$custom-dark: #000000;
JSON
{
  "hex": "#41285f",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 267.273,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.09559,
    "h": 302.6
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#41285F
secondary
#749251
accent
#D15799
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41285F

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

Preview Lab → · Contrast checker → · Palette generator →

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