#41267D#41267D

#41267D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.139 H 292.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#41267D
RGBrgb(65, 38, 125)
HSLhsl(259, 53%, 32%)
HSVhsv(259, 70%, 49%)
CMYKcmyk(48%, 69.6%, 0%, 51%)
CIE-LABlab(23.64, 34.38, -45.01)
CIE-LCHlch(23.64, 56.63, 307.37°)
OKLaboklab(35.67% 0.0523 -0.1288)
OKLCHoklch(35.67% 0.139 292.1)
XYZxyz(6.5737, 3.9905, 19.8219)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41267D #627D26
analogous
#26377D #41267D #6D267D
triadic
#41267D #7D4126 #267D41
tetradic
#41267D #7D2637 #627D26 #267D6D
square
#41267D #7D2637 #627D26 #267D6D
split-complementary
#41267D #7D6D26 #377D26
monochromatic
#10091F #29184E #41267D #5934AC #7853CB

Accessibility & contrast

On white

11.68
#41267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#41267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41267D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41267D#FFFFFF#000000##FFFFFF
##41267D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#2F3B4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41267d;
/* rgb */ color: rgb(65, 38, 125);
/* oklch */ color: oklch(35.7% 0.139 292.1);
Tailwind
colors: {
  custom: {
    50: '#7b62a3',
    500: '#41267d',
    950: '#000000',
  },
}
SCSS
$custom: #41267d;
$custom-light: #7b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41267d",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 258.621,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35669,
    "c": 0.13907,
    "h": 292.1
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#41267D
secondary
#91AF50
accent
#DD4BB0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41267D

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

Preview Lab → · Contrast checker → · Palette generator →

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