#41298F#41298F

#41298F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.158 H 287.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#41298F
RGBrgb(65, 41, 143)
HSLhsl(254, 55%, 36%)
HSVhsv(254, 71%, 56%)
CMYKcmyk(54.5%, 71.3%, 0%, 43.9%)
CIE-LABlab(25.84, 38.13, -52.68)
CIE-LCHlch(25.84, 65.03, 305.90°)
OKLaboklab(37.73% 0.0462 -0.1514)
OKLCHoklch(37.73% 0.158 287)
XYZxyz(7.9294, 4.6925, 26.4692)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41298F #778F29
analogous
#29448F #41298F #74298F
triadic
#41298F #8F4129 #298F41
tetradic
#41298F #8F2944 #778F29 #298F74
square
#41298F #8F2944 #778F29 #298F74
split-complementary
#41298F #8F7429 #448F29
monochromatic
#160E30 #2B1B5F #41298F #5737BF #7B61D2

Accessibility & contrast

On white

10.83
#41298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#41298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41298F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41298F#FFFFFF#000000##FFFFFF
##41298F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#214459
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41298f;
/* rgb */ color: rgb(65, 41, 143);
/* oklch */ color: oklch(37.7% 0.158 287.0);
Tailwind
colors: {
  custom: {
    50: '#7e65b1',
    500: '#41298f',
    950: '#000000',
  },
}
SCSS
$custom: #41298f;
$custom-light: #7e65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41298f",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 254.118,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.15829,
    "h": 287
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#41298F
secondary
#A2B75C
accent
#DF49BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #41298F

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

Preview Lab → · Contrast checker → · Palette generator →

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