#41237B#41237B

#41237B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.141 H 293.4°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#41237B
RGBrgb(65, 35, 123)
HSLhsl(260, 56%, 31%)
HSVhsv(260, 72%, 48%)
CMYKcmyk(47.2%, 71.5%, 0%, 51.8%)
CIE-LABlab(22.85, 35.50, -45.03)
CIE-LCHlch(22.85, 57.34, 308.25°)
OKLaboklab(35.05% 0.0559 -0.1289)
OKLCHoklch(35.05% 0.141 293.4)
XYZxyz(6.3552, 3.7558, 19.1251)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41237B #5D7B23
analogous
#23317B #41237B #6D237B
triadic
#41237B #7B4123 #237B41
tetradic
#41237B #7B2331 #5D7B23 #237B6D
square
#41237B #7B2331 #5D7B23 #237B6D
split-complementary
#41237B #7B6D23 #317B23
monochromatic
#0F081C #28154B #41237B #5A31AB #784CCC

Accessibility & contrast

On white

11.99
#41237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41237B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41237B#FFFFFF#000000##FFFFFF
##41237B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#30394C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41237b;
/* rgb */ color: rgb(65, 35, 123);
/* oklch */ color: oklch(35.0% 0.141 293.4);
Tailwind
colors: {
  custom: {
    50: '#7b60a2',
    500: '#41237b',
    950: '#000000',
  },
}
SCSS
$custom: #41237b;
$custom-light: #7b60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41237b",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 260.455,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35047,
    "c": 0.1405,
    "h": 293.4
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#41237B
secondary
#8CAE4C
accent
#DF49AC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41237B

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

Preview Lab → · Contrast checker → · Palette generator →

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