#41236F#41236F

#41236F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.125 H 297.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#41236F
RGBrgb(65, 35, 111)
HSLhsl(264, 52%, 29%)
HSVhsv(264, 68%, 44%)
CMYKcmyk(41.4%, 68.5%, 0%, 56.5%)
CIE-LABlab(21.85, 31.99, -38.97)
CIE-LCHlch(21.85, 50.42, 309.39°)
OKLaboklab(34.02% 0.0577 -0.1111)
OKLCHoklch(34.02% 0.125 297.4)
XYZxyz(5.6495, 3.4735, 15.4086)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41236F #516F23
analogous
#232B6F #41236F #67236F
triadic
#41236F #6F4123 #236F41
tetradic
#41236F #6F232B #516F23 #236F67
square
#41236F #6F232B #516F23 #236F67
split-complementary
#41236F #6F6723 #2B6F23
monochromatic
#0E0717 #261440 #41236F #5C329E #7947C5

Accessibility & contrast

On white

12.39
#41236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#41236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41236F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41236F#FFFFFF#000000##FFFFFF
##41236F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#363445
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #41236f;
/* rgb */ color: rgb(65, 35, 111);
/* oklch */ color: oklch(34.0% 0.125 297.4);
Tailwind
colors: {
  custom: {
    50: '#7a6099',
    500: '#41236f',
    950: '#000000',
  },
}
SCSS
$custom: #41236f;
$custom-light: #7a6099;
$custom-dark: #000000;
JSON
{
  "hex": "#41236f",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 263.684,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34018,
    "c": 0.12518,
    "h": 297.4
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#41236F
secondary
#80A24C
accent
#DB4CA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #41236F

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

Preview Lab → · Contrast checker → · Palette generator →

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