#41207F#41207F

#41207F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.149 H 292.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#41207F
RGBrgb(65, 32, 127)
HSLhsl(261, 60%, 31%)
HSVhsv(261, 75%, 50%)
CMYKcmyk(48.8%, 74.8%, 0%, 50.2%)
CIE-LABlab(22.62, 38.30, -47.94)
CIE-LCHlch(22.62, 61.36, 308.62°)
OKLaboklab(34.99% 0.0581 -0.1374)
OKLCHoklch(34.99% 0.149 292.9)
XYZxyz(6.5262, 3.6889, 20.4427)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41207F #5E7F20
analogous
#202E7F #41207F #70207F
triadic
#41207F #7F4120 #207F41
tetradic
#41207F #7F202E #5E7F20 #207F70
square
#41207F #7F202E #5E7F20 #207F70
split-complementary
#41207F #7F7020 #2E7F20
monochromatic
#0F071D #28144E #41207F #5A2CB0 #7848D1

Accessibility & contrast

On white

12.08
#41207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#41207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41207F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41207F#FFFFFF#000000##FFFFFF
##41207F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#2E394D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41207f;
/* rgb */ color: rgb(65, 32, 127);
/* oklch */ color: oklch(35.0% 0.149 292.9);
Tailwind
colors: {
  custom: {
    50: '#7c5fa5',
    500: '#41207f',
    950: '#000000',
  },
}
SCSS
$custom: #41207f;
$custom-light: #7c5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#41207f",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 260.842,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.14923,
    "h": 292.9
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#41207F
secondary
#8DB249
accent
#E345AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41207F

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

Preview Lab → · Contrast checker → · Palette generator →

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