#41247B#41247B

#41247B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.139 H 293.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#41247B
RGBrgb(65, 36, 123)
HSLhsl(260, 55%, 31%)
HSVhsv(260, 71%, 48%)
CMYKcmyk(47.2%, 70.7%, 0%, 51.8%)
CIE-LABlab(23.05, 34.93, -44.70)
CIE-LCHlch(23.05, 56.73, 308.01°)
OKLaboklab(35.19% 0.0548 -0.1279)
OKLCHoklch(35.19% 0.139 293.2)
XYZxyz(6.3850, 3.8154, 19.1351)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41247B #5E7B24
analogous
#24327B #41247B #6C247B
triadic
#41247B #7B4124 #247B41
tetradic
#41247B #7B2432 #5E7B24 #247B6C
square
#41247B #7B2432 #5E7B24 #247B6C
split-complementary
#41247B #7B6C24 #327B24
monochromatic
#0F081C #28164C #41247B #5A32AA #784ECB

Accessibility & contrast

On white

11.91
#41247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#41247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41247B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41247B#FFFFFF#000000##FFFFFF
##41247B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#30394C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41247b;
/* rgb */ color: rgb(65, 36, 123);
/* oklch */ color: oklch(35.2% 0.139 293.2);
Tailwind
colors: {
  custom: {
    50: '#7b61a2',
    500: '#41247b',
    950: '#000000',
  },
}
SCSS
$custom: #41247b;
$custom-light: #7b61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41247b",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 260,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.13918,
    "h": 293.2
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#41247B
secondary
#8DAD4D
accent
#DE4AAD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41247B

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

Preview Lab → · Contrast checker → · Palette generator →

#41247B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva