#41235D#41235D

#41235D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.102 H 305.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#41235D
RGBrgb(65, 35, 93)
HSLhsl(271, 45%, 25%)
HSVhsv(271, 62%, 36%)
CMYKcmyk(30.1%, 62.4%, 0%, 63.5%)
CIE-LABlab(20.50, 26.91, -29.37)
CIE-LCHlch(20.50, 39.84, 312.50°)
OKLaboklab(32.61% 0.0587 -0.0829)
OKLCHoklch(32.61% 0.102 305.3)
XYZxyz(4.7564, 3.1162, 10.7047)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41235D #3F5D23
analogous
#24235D #41235D #5D235C
triadic
#41235D #5D4123 #235D41
tetradic
#41235D #5D2423 #3F5D23 #235C5D
square
#41235D #5D2423 #3F5D23 #235C5D
split-complementary
#41235D #5C5D23 #235D24
monochromatic
#100816 #221231 #41235D #603489 #7F44B6

Accessibility & contrast

On white

12.94
#41235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41235D
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41235D#FFFFFF#000000##FFFFFF
##41235D1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305F
Deuteranopia (green-blind)
#18315C
Tritanopia (blue-blind)
#3C2E3C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41235d;
/* rgb */ color: rgb(65, 35, 93);
/* oklch */ color: oklch(32.6% 0.102 305.3);
Tailwind
colors: {
  custom: {
    50: '#785f8b',
    500: '#41235d',
    950: '#000000',
  },
}
SCSS
$custom: #41235d;
$custom-light: #785f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#41235d",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 271.034,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32613,
    "c": 0.10159,
    "h": 305.3
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#41235D
secondary
#6D914B
accent
#D55392
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41235D

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

Preview Lab → · Contrast checker → · Palette generator →

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