#41257A#41257A

#41257A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.137 H 293.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#41257A
RGBrgb(65, 37, 122)
HSLhsl(260, 53%, 31%)
HSVhsv(260, 70%, 48%)
CMYKcmyk(46.7%, 69.7%, 0%, 52.2%)
CIE-LABlab(23.18, 34.06, -43.86)
CIE-LCHlch(23.18, 55.53, 307.83°)
OKLaboklab(35.26% 0.0539 -0.1255)
OKLCHoklch(35.26% 0.137 293.2)
XYZxyz(6.3534, 3.8519, 18.8173)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41257A #5E7A25
analogous
#25337A #41257A #6B257A
triadic
#41257A #7A4125 #257A41
tetradic
#41257A #7A2533 #5E7A25 #257A6B
square
#41257A #7A2533 #5E7A25 #257A6B
split-complementary
#41257A #7A6B25 #337A25
monochromatic
#0F091C #28174B #41257A #5A33A9 #7850CA

Accessibility & contrast

On white

11.86
#41257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#41257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41257A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41257A#FFFFFF#000000##FFFFFF
##41257A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#313A4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41257a;
/* rgb */ color: rgb(65, 37, 122);
/* oklch */ color: oklch(35.3% 0.137 293.2);
Tailwind
colors: {
  custom: {
    50: '#7b61a1',
    500: '#41257a',
    950: '#000000',
  },
}
SCSS
$custom: #41257a;
$custom-light: #7b61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41257a",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 259.765,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35256,
    "c": 0.13655,
    "h": 293.2
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#41257A
secondary
#8DAC4E
accent
#DD4BAD
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41257A

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

Preview Lab → · Contrast checker → · Palette generator →

#41257A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva