#41298E#41298E

#41298E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.157 H 287.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#41298E
RGBrgb(65, 41, 142)
HSLhsl(254, 55%, 36%)
HSVhsv(254, 71%, 56%)
CMYKcmyk(54.2%, 71.1%, 0%, 44.3%)
CIE-LABlab(25.75, 37.82, -52.21)
CIE-LCHlch(25.75, 64.47, 305.92°)
OKLaboklab(37.64% 0.0464 -0.15)
OKLCHoklch(37.64% 0.157 287.2)
XYZxyz(7.8540, 4.6623, 26.0720)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41298E #768E29
analogous
#29448E #41298E #73298E
triadic
#41298E #8E4129 #298E41
tetradic
#41298E #8E2944 #768E29 #298E73
square
#41298E #8E2944 #768E29 #298E73
split-complementary
#41298E #8E7329 #448E29
monochromatic
#160E2F #2B1B5F #41298E #5737BD #7B60D1

Accessibility & contrast

On white

10.87
#41298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#41298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41298E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41298E#FFFFFF#000000##FFFFFF
##41298E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#224358
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41298e;
/* rgb */ color: rgb(65, 41, 142);
/* oklch */ color: oklch(37.6% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#7e65b0',
    500: '#41298e',
    950: '#000000',
  },
}
SCSS
$custom: #41298e;
$custom-light: #7e65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41298e",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 254.257,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.15702,
    "h": 287.2
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#41298E
secondary
#A1B75C
accent
#DF49BB
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #41298E

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

Preview Lab → · Contrast checker → · Palette generator →

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