#41239A#41239A

#41239A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.178 H 285.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#41239A
RGBrgb(65, 35, 154)
HSLhsl(255, 63%, 37%)
HSVhsv(255, 77%, 60%)
CMYKcmyk(57.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(25.74, 44.66, -59.62)
CIE-LCHlch(25.74, 74.50, 306.84°)
OKLaboklab(37.98% 0.0485 -0.1717)
OKLCHoklch(37.98% 0.178 285.8)
XYZxyz(8.6120, 4.6585, 31.0110)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41239A #7C9A23
analogous
#23419A #41239A #7D239A
triadic
#41239A #9A4123 #239A41
tetradic
#41239A #9A2341 #7C9A23 #239A7D
square
#41239A #9A2341 #7C9A23 #239A7D
split-complementary
#41239A #9A7D23 #419A23
monochromatic
#170C36 #2C1868 #41239A #562ECC #7D5DDA

Accessibility & contrast

On white

10.87
#41239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#41239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41239A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41239A#FFFFFF#000000##FFFFFF
##41239A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#15455D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41239a;
/* rgb */ color: rgb(65, 35, 154);
/* oklch */ color: oklch(38.0% 0.178 285.8);
Tailwind
colors: {
  custom: {
    50: '#8062b9',
    500: '#41239a',
    950: '#000000',
  },
}
SCSS
$custom: #41239a;
$custom-light: #8062b9;
$custom-dark: #000000;
JSON
{
  "hex": "#41239a",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 255.126,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37979,
    "c": 0.17842,
    "h": 285.8
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#41239A
secondary
#A5BF5A
accent
#E642BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #41239A

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

Preview Lab → · Contrast checker → · Palette generator →

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