#41236B#41236B

#41236B is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.120 H 299.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#41236B
RGBrgb(65, 35, 107)
HSLhsl(265, 51%, 28%)
HSVhsv(265, 67%, 42%)
CMYKcmyk(39.3%, 67.3%, 0%, 58%)
CIE-LABlab(21.53, 30.84, -36.89)
CIE-LCHlch(21.53, 48.08, 309.90°)
OKLaboklab(33.69% 0.0581 -0.105)
OKLCHoklch(33.69% 0.12 299)
XYZxyz(5.4342, 3.3874, 14.2746)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41236B #4D6B23
analogous
#23296B #41236B #65236B
triadic
#41236B #6B4123 #236B41
tetradic
#41236B #6B2329 #4D6B23 #236B65
square
#41236B #6B2329 #4D6B23 #236B65
split-complementary
#41236B #6B6523 #296B23
monochromatic
#0E0817 #25143D #41236B #5D3299 #7A46C2

Accessibility & contrast

On white

12.52
#41236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41236B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41236B#FFFFFF#000000##FFFFFF
##41236B1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#013369
Tritanopia (blue-blind)
#373343
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #41236b;
/* rgb */ color: rgb(65, 35, 107);
/* oklch */ color: oklch(33.7% 0.120 299.0);
Tailwind
colors: {
  custom: {
    50: '#796096',
    500: '#41236b',
    950: '#000000',
  },
}
SCSS
$custom: #41236b;
$custom-light: #796096;
$custom-dark: #000000;
JSON
{
  "hex": "#41236b",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 265,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.11999,
    "h": 299
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#41236B
secondary
#7C9E4B
accent
#DA4EA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41236B

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

Preview Lab → · Contrast checker → · Palette generator →

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