#41236C#41236C

#41236C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.121 H 298.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#41236C
RGBrgb(65, 35, 108)
HSLhsl(265, 51%, 28%)
HSVhsv(265, 68%, 42%)
CMYKcmyk(39.8%, 67.6%, 0%, 57.6%)
CIE-LABlab(21.61, 31.13, -37.41)
CIE-LCHlch(21.61, 48.67, 309.76°)
OKLaboklab(33.77% 0.058 -0.1065)
OKLCHoklch(33.77% 0.121 298.6)
XYZxyz(5.4871, 3.4085, 14.5533)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41236C #4E6C23
analogous
#23296C #41236C #65236C
triadic
#41236C #6C4123 #236C41
tetradic
#41236C #6C2329 #4E6C23 #236C65
square
#41236C #6C2329 #4E6C23 #236C65
split-complementary
#41236C #6C6523 #296C23
monochromatic
#0E0717 #25143E #41236C #5D329A #7A46C3

Accessibility & contrast

On white

12.49
#41236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#41236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41236C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41236C#FFFFFF#000000##FFFFFF
##41236C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#373344
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #41236c;
/* rgb */ color: rgb(65, 35, 108);
/* oklch */ color: oklch(33.8% 0.121 298.6);
Tailwind
colors: {
  custom: {
    50: '#796097',
    500: '#41236c',
    950: '#000000',
  },
}
SCSS
$custom: #41236c;
$custom-light: #796097;
$custom-dark: #000000;
JSON
{
  "hex": "#41236c",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 264.658,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.12129,
    "h": 298.6
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#41236C
secondary
#7D9F4B
accent
#DB4DA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41236C

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

Preview Lab → · Contrast checker → · Palette generator →

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