#41207A#41207A

#41207A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.143 H 294.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#41207A
RGBrgb(65, 32, 122)
HSLhsl(262, 58%, 30%)
HSVhsv(262, 74%, 48%)
CMYKcmyk(46.7%, 73.8%, 0%, 52.2%)
CIE-LABlab(22.17, 36.85, -45.50)
CIE-LCHlch(22.17, 58.56, 309.01°)
OKLaboklab(34.53% 0.0592 -0.1303)
OKLCHoklch(34.53% 0.143 294.4)
XYZxyz(6.2084, 3.5618, 18.7690)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41207A #597A20
analogous
#202C7A #41207A #6E207A
triadic
#41207A #7A4120 #207A41
tetradic
#41207A #7A202C #597A20 #207A6E
square
#41207A #7A202C #597A20 #207A6E
split-complementary
#41207A #7A6E20 #2C7A20
monochromatic
#0D0719 #27134A #41207A #5B2DAA #7846CE

Accessibility & contrast

On white

12.26
#41207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#41207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41207A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41207A#FFFFFF#000000##FFFFFF
##41207A1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#31374A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #41207a;
/* rgb */ color: rgb(65, 32, 122);
/* oklch */ color: oklch(34.5% 0.143 294.4);
Tailwind
colors: {
  custom: {
    50: '#7b5ea1',
    500: '#41207a',
    950: '#000000',
  },
}
SCSS
$custom: #41207a;
$custom-light: #7b5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#41207a",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 262,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34535,
    "c": 0.14311,
    "h": 294.4
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#41207A
secondary
#88AD49
accent
#E246A9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41207A

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

Preview Lab → · Contrast checker → · Palette generator →

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