#41267F#41267F

#41267F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.142 H 291.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#41267F
RGBrgb(65, 38, 127)
HSLhsl(258, 54%, 32%)
HSVhsv(258, 70%, 50%)
CMYKcmyk(48.8%, 70.1%, 0%, 50.2%)
CIE-LABlab(23.81, 34.98, -45.99)
CIE-LCHlch(23.81, 57.78, 307.25°)
OKLaboklab(35.84% 0.052 -0.1317)
OKLCHoklch(35.84% 0.142 291.5)
XYZxyz(6.7028, 4.0421, 20.5016)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41267F #647F26
analogous
#26387F #41267F #6D267F
triadic
#41267F #7F4126 #267F41
tetradic
#41267F #7F2638 #647F26 #267F6D
square
#41267F #7F2638 #647F26 #267F6D
split-complementary
#41267F #7F6D26 #387F26
monochromatic
#110A21 #291850 #41267F #5934AE #7854CC

Accessibility & contrast

On white

11.61
#41267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#41267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41267F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41267F#FFFFFF#000000##FFFFFF
##41267F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#2E3C4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41267f;
/* rgb */ color: rgb(65, 38, 127);
/* oklch */ color: oklch(35.8% 0.142 291.5);
Tailwind
colors: {
  custom: {
    50: '#7c62a5',
    500: '#41267f',
    950: '#000000',
  },
}
SCSS
$custom: #41267f;
$custom-light: #7c62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41267f",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 258.202,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35844,
    "c": 0.14164,
    "h": 291.5
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#41267F
secondary
#93B051
accent
#DD4AB1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41267F

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

Preview Lab → · Contrast checker → · Palette generator →

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