#41207E#41207E

#41207E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.148 H 293.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#41207E
RGBrgb(65, 32, 126)
HSLhsl(261, 59%, 31%)
HSVhsv(261, 75%, 49%)
CMYKcmyk(48.4%, 74.6%, 0%, 50.6%)
CIE-LABlab(22.52, 38.01, -47.46)
CIE-LCHlch(22.52, 60.80, 308.69°)
OKLaboklab(34.9% 0.0583 -0.136)
OKLCHoklch(34.9% 0.148 293.2)
XYZxyz(6.4613, 3.6630, 20.1012)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41207E #5D7E20
analogous
#202E7E #41207E #70207E
triadic
#41207E #7E4120 #207E41
tetradic
#41207E #7E202E #5D7E20 #207E70
square
#41207E #7E202E #5D7E20 #207E70
split-complementary
#41207E #7E7020 #2E7E20
monochromatic
#0F071C #28144D #41207E #5A2CAF #7848D0

Accessibility & contrast

On white

12.12
#41207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41207E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41207E#FFFFFF#000000##FFFFFF
##41207E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#2F384D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41207e;
/* rgb */ color: rgb(65, 32, 126);
/* oklch */ color: oklch(34.9% 0.148 293.2);
Tailwind
colors: {
  custom: {
    50: '#7c5fa4',
    500: '#41207e',
    950: '#000000',
  },
}
SCSS
$custom: #41207e;
$custom-light: #7c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#41207e",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 261.064,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.349,
    "c": 0.14801,
    "h": 293.2
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#41207E
secondary
#8CB149
accent
#E345AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41207E

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

Preview Lab → · Contrast checker → · Palette generator →

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