#41235C#41235C

#41235C is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.100 H 305.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#41235C
RGBrgb(65, 35, 92)
HSLhsl(272, 45%, 25%)
HSVhsv(272, 62%, 36%)
CMYKcmyk(29.3%, 62%, 0%, 63.9%)
CIE-LABlab(20.43, 26.64, -28.82)
CIE-LCHlch(20.43, 39.24, 312.75°)
OKLaboklab(32.54% 0.0587 -0.0813)
OKLCHoklch(32.54% 0.1 305.9)
XYZxyz(4.7124, 3.0986, 10.4730)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41235C #3E5C23
analogous
#25235C #41235C #5C235B
triadic
#41235C #5C4123 #235C41
tetradic
#41235C #5C2523 #3E5C23 #235B5C
square
#41235C #5C2523 #3E5C23 #235B5C
split-complementary
#41235C #5B5C23 #235C25
monochromatic
#100816 #221230 #41235C #603488 #8045B5

Accessibility & contrast

On white

12.96
#41235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41235C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41235C#FFFFFF#000000##FFFFFF
##41235C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305E
Deuteranopia (green-blind)
#19315B
Tritanopia (blue-blind)
#3D2E3B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41235c;
/* rgb */ color: rgb(65, 35, 92);
/* oklch */ color: oklch(32.5% 0.100 305.9);
Tailwind
colors: {
  custom: {
    50: '#785f8a',
    500: '#41235c',
    950: '#000000',
  },
}
SCSS
$custom: #41235c;
$custom-light: #785f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#41235c",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 271.579,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3254,
    "c": 0.10027,
    "h": 305.9
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#41235C
secondary
#6C904B
accent
#D55390
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41235C

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

Preview Lab → · Contrast checker → · Palette generator →

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