#41247A#41247A

#41247A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.138 H 293.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#41247A
RGBrgb(65, 36, 122)
HSLhsl(260, 54%, 31%)
HSVhsv(260, 70%, 48%)
CMYKcmyk(46.7%, 70.5%, 0%, 52.2%)
CIE-LABlab(22.97, 34.63, -44.20)
CIE-LCHlch(22.97, 56.15, 308.08°)
OKLaboklab(35.11% 0.055 -0.1265)
OKLCHoklch(35.11% 0.138 293.5)
XYZxyz(6.3227, 3.7905, 18.8071)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41247A #5D7A24
analogous
#24327A #41247A #6C247A
triadic
#41247A #7A4124 #247A41
tetradic
#41247A #7A2432 #5D7A24 #247A6C
square
#41247A #7A2432 #5D7A24 #247A6C
split-complementary
#41247A #7A6C24 #327A24
monochromatic
#0F081B #28164B #41247A #5A32A9 #784ECB

Accessibility & contrast

On white

11.94
#41247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41247A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41247A#FFFFFF#000000##FFFFFF
##41247A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#31394C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41247a;
/* rgb */ color: rgb(65, 36, 122);
/* oklch */ color: oklch(35.1% 0.138 293.5);
Tailwind
colors: {
  custom: {
    50: '#7b61a1',
    500: '#41247a',
    950: '#000000',
  },
}
SCSS
$custom: #41247a;
$custom-light: #7b61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41247a",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 260.233,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35106,
    "c": 0.13791,
    "h": 293.5
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#41247A
secondary
#8CAC4D
accent
#DE4AAC
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41247A

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

Preview Lab → · Contrast checker → · Palette generator →

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