#41238F#41238F

#41238F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.165 H 288.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#41238F
RGBrgb(65, 35, 143)
HSLhsl(257, 61%, 35%)
HSVhsv(257, 76%, 56%)
CMYKcmyk(54.5%, 75.5%, 0%, 43.9%)
CIE-LABlab(24.67, 41.41, -54.61)
CIE-LCHlch(24.67, 68.53, 307.18°)
OKLaboklab(36.9% 0.0515 -0.157)
OKLCHoklch(36.9% 0.165 288.2)
XYZxyz(7.7375, 4.3087, 26.4052)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41238F #718F23
analogous
#233B8F #41238F #77238F
triadic
#41238F #8F4123 #238F41
tetradic
#41238F #8F233B #718F23 #238F77
square
#41238F #8F233B #718F23 #238F77
split-complementary
#41238F #8F7723 #3B8F23
monochromatic
#140B2D #2B175E #41238F #572FC0 #7A57D6

Accessibility & contrast

On white

11.28
#41238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#41238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41238F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41238F#FFFFFF#000000##FFFFFF
##41238F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#224057
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41238f;
/* rgb */ color: rgb(65, 35, 143);
/* oklch */ color: oklch(36.9% 0.165 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e61b1',
    500: '#41238f',
    950: '#000000',
  },
}
SCSS
$custom: #41238f;
$custom-light: #7e61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41238f",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 256.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.369,
    "c": 0.16523,
    "h": 288.2
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#41238F
secondary
#9EBA54
accent
#E444B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41238F

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

Preview Lab → · Contrast checker → · Palette generator →

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