#41239F#41239F

#41239F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.184 H 284.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#41239F
RGBrgb(65, 35, 159)
HSLhsl(255, 64%, 38%)
HSVhsv(255, 78%, 62%)
CMYKcmyk(59.1%, 78%, 0%, 37.6%)
CIE-LABlab(26.24, 46.14, -61.85)
CIE-LCHlch(26.24, 77.17, 306.72°)
OKLaboklab(38.48% 0.0471 -0.1782)
OKLCHoklch(38.48% 0.184 284.8)
XYZxyz(9.0371, 4.8285, 33.2500)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41239F #819F23
analogous
#23439F #41239F #7F239F
triadic
#41239F #9F4123 #239F41
tetradic
#41239F #9F2343 #819F23 #239F7F
square
#41239F #9F2343 #819F23 #239F7F
split-complementary
#41239F #9F7F23 #439F23
monochromatic
#180D3B #2C186D #41239F #562ED1 #7E60DC

Accessibility & contrast

On white

10.68
#41239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#41239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41239F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41239F#FFFFFF#000000##FFFFFF
##41239F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#0A4760
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41239f;
/* rgb */ color: rgb(65, 35, 159);
/* oklch */ color: oklch(38.5% 0.184 284.8);
Tailwind
colors: {
  custom: {
    50: '#8162bd',
    500: '#41239f',
    950: '#000000',
  },
}
SCSS
$custom: #41239f;
$custom-light: #8162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#41239f",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 254.516,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38481,
    "c": 0.18434,
    "h": 284.8
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#41239F
secondary
#A9C15D
accent
#E741BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #41239F

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

Preview Lab → · Contrast checker → · Palette generator →

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