#41236A#41236A

#41236A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.119 H 299.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#41236A
RGBrgb(65, 35, 106)
HSLhsl(265, 50%, 28%)
HSVhsv(265, 67%, 42%)
CMYKcmyk(38.7%, 67%, 0%, 58.4%)
CIE-LABlab(21.46, 30.56, -36.37)
CIE-LCHlch(21.46, 47.50, 310.04°)
OKLaboklab(33.61% 0.0582 -0.1034)
OKLCHoklch(33.61% 0.119 299.4)
XYZxyz(5.3819, 3.3664, 13.9991)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41236A #4C6A23
analogous
#23286A #41236A #64236A
triadic
#41236A #6A4123 #236A41
tetradic
#41236A #6A2328 #4C6A23 #236A64
square
#41236A #6A2328 #4C6A23 #236A64
split-complementary
#41236A #6A6423 #286A23
monochromatic
#0E0817 #25143C #41236A #5D3298 #7A46C2

Accessibility & contrast

On white

12.55
#41236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#41236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41236A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41236A#FFFFFF#000000##FFFFFF
##41236A1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#033368
Tritanopia (blue-blind)
#383343
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41236a;
/* rgb */ color: rgb(65, 35, 106);
/* oklch */ color: oklch(33.6% 0.119 299.4);
Tailwind
colors: {
  custom: {
    50: '#796095',
    500: '#41236a',
    950: '#000000',
  },
}
SCSS
$custom: #41236a;
$custom-light: #796095;
$custom-dark: #000000;
JSON
{
  "hex": "#41236a",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 265.352,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33609,
    "c": 0.11869,
    "h": 299.4
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#41236A
secondary
#7B9D4B
accent
#DA4E9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41236A

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

Preview Lab → · Contrast checker → · Palette generator →

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