#41239C#41239C

#41239C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.181 H 285.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#41239C
RGBrgb(65, 35, 156)
HSLhsl(255, 63%, 37%)
HSVhsv(255, 78%, 61%)
CMYKcmyk(58.3%, 77.6%, 0%, 38.8%)
CIE-LABlab(25.94, 45.25, -60.52)
CIE-LCHlch(25.94, 75.57, 306.79°)
OKLaboklab(38.18% 0.048 -0.1743)
OKLCHoklch(38.18% 0.181 285.4)
XYZxyz(8.7799, 4.7257, 31.8955)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41239C #7E9C23
analogous
#23419C #41239C #7E239C
triadic
#41239C #9C4123 #239C41
tetradic
#41239C #9C2341 #7E9C23 #239C7E
square
#41239C #9C2341 #7E9C23 #239C7E
split-complementary
#41239C #9C7E23 #419C23
monochromatic
#170D38 #2C186A #41239C #562ECE #7D5EDB

Accessibility & contrast

On white

10.80
#41239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#41239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41239C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41239C#FFFFFF#000000##FFFFFF
##41239C1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#11465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41239c;
/* rgb */ color: rgb(65, 35, 156);
/* oklch */ color: oklch(38.2% 0.181 285.4);
Tailwind
colors: {
  custom: {
    50: '#8162ba',
    500: '#41239c',
    950: '#000000',
  },
}
SCSS
$custom: #41239c;
$custom-light: #8162ba;
$custom-dark: #000000;
JSON
{
  "hex": "#41239c",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 254.876,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.18079,
    "h": 285.4
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#41239C
secondary
#A7C05B
accent
#E641BD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #41239C

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

Preview Lab → · Contrast checker → · Palette generator →

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