#41255D#41255D

#41255D is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.098 H 304.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#41255D
RGBrgb(65, 37, 93)
HSLhsl(270, 43%, 25%)
HSVhsv(270, 60%, 36%)
CMYKcmyk(30.1%, 60.2%, 0%, 63.5%)
CIE-LABlab(20.97, 25.68, -28.62)
CIE-LCHlch(20.97, 38.45, 311.89°)
OKLaboklab(32.96% 0.0558 -0.0807)
OKLCHoklch(32.96% 0.098 304.7)
XYZxyz(4.8169, 3.2373, 10.7249)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41255D #415D25
analogous
#25255D #41255D #5D255D
triadic
#41255D #5D4125 #255D41
tetradic
#41255D #5D2525 #415D25 #255D5D
square
#41255D #5D2525 #415D25 #255D5D
split-complementary
#41255D #5D5D25 #255D25
monochromatic
#0F0916 #221431 #41255D #603689 #7E48B5

Accessibility & contrast

On white

12.75
#41255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#41255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41255D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41255D#FFFFFF#000000##FFFFFF
##41255D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#1A325C
Tritanopia (blue-blind)
#3C303D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41255d;
/* rgb */ color: rgb(65, 37, 93);
/* oklch */ color: oklch(33.0% 0.098 304.7);
Tailwind
colors: {
  custom: {
    50: '#78618b',
    500: '#41255d',
    950: '#000000',
  },
}
SCSS
$custom: #41255d;
$custom-light: #78618b;
$custom-dark: #000000;
JSON
{
  "hex": "#41255d",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 270,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32955,
    "c": 0.09813,
    "h": 304.7
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#41255D
secondary
#6F904D
accent
#D35594
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41255D

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

Preview Lab → · Contrast checker → · Palette generator →

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