#41207D#41207D

#41207D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.147 H 293.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#41207D
RGBrgb(65, 32, 125)
HSLhsl(261, 59%, 31%)
HSVhsv(261, 74%, 49%)
CMYKcmyk(48%, 74.4%, 0%, 51%)
CIE-LABlab(22.43, 37.72, -46.97)
CIE-LCHlch(22.43, 60.24, 308.77°)
OKLaboklab(34.81% 0.0586 -0.1346)
OKLCHoklch(34.81% 0.147 293.5)
XYZxyz(6.3971, 3.6373, 19.7631)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41207D #5C7D20
analogous
#202D7D #41207D #6F207D
triadic
#41207D #7D4120 #207D41
tetradic
#41207D #7D202D #5C7D20 #207D6F
square
#41207D #7D202D #5C7D20 #207D6F
split-complementary
#41207D #7D6F20 #2D7D20
monochromatic
#0E071C #28144C #41207D #5A2CAE #7847D0

Accessibility & contrast

On white

12.16
#41207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#41207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41207D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41207D#FFFFFF#000000##FFFFFF
##41207D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#2F384C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41207d;
/* rgb */ color: rgb(65, 32, 125);
/* oklch */ color: oklch(34.8% 0.147 293.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fa3',
    500: '#41207d',
    950: '#000000',
  },
}
SCSS
$custom: #41207d;
$custom-light: #7c5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#41207d",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 261.29,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.14679,
    "h": 293.5
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#41207D
secondary
#8BB049
accent
#E245AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41207D

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

Preview Lab → · Contrast checker → · Palette generator →

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