#41237A#41237A

#41237A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.139 H 293.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#41237A
RGBrgb(65, 35, 122)
HSLhsl(261, 55%, 31%)
HSVhsv(261, 71%, 48%)
CMYKcmyk(46.7%, 71.3%, 0%, 52.2%)
CIE-LABlab(22.76, 35.20, -44.53)
CIE-LCHlch(22.76, 56.77, 308.32°)
OKLaboklab(34.96% 0.0561 -0.1274)
OKLCHoklch(34.96% 0.139 293.7)
XYZxyz(6.2929, 3.7308, 18.7971)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41237A #5C7A23
analogous
#23307A #41237A #6C237A
triadic
#41237A #7A4123 #237A41
tetradic
#41237A #7A2330 #5C7A23 #237A6C
square
#41237A #7A2330 #5C7A23 #237A6C
split-complementary
#41237A #7A6C23 #307A23
monochromatic
#0E081B #28154A #41237A #5A31AA #784CCC

Accessibility & contrast

On white

12.03
#41237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#41237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41237A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41237A#FFFFFF#000000##FFFFFF
##41237A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#31384B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41237a;
/* rgb */ color: rgb(65, 35, 122);
/* oklch */ color: oklch(35.0% 0.139 293.7);
Tailwind
colors: {
  custom: {
    50: '#7b60a1',
    500: '#41237a',
    950: '#000000',
  },
}
SCSS
$custom: #41237a;
$custom-light: #7b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41237a",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 260.69,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34959,
    "c": 0.13924,
    "h": 293.7
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#41237A
secondary
#8BAD4C
accent
#DF49AB
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41237A

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

Preview Lab → · Contrast checker → · Palette generator →

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