#41235B#41235B

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

Color values

HEX#41235B
RGBrgb(65, 35, 91)
HSLhsl(272, 44%, 25%)
HSVhsv(272, 62%, 36%)
CMYKcmyk(28.6%, 61.5%, 0%, 64.3%)
CIE-LABlab(20.37, 26.36, -28.26)
CIE-LCHlch(20.37, 38.65, 313.01°)
OKLaboklab(32.47% 0.0587 -0.0796)
OKLCHoklch(32.47% 0.099 306.4)
XYZxyz(4.6689, 3.0813, 10.2443)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41235B #3D5B23
analogous
#25235B #41235B #5B2359
triadic
#41235B #5B4123 #235B41
tetradic
#41235B #5B2523 #3D5B23 #23595B
square
#41235B #5B2523 #3D5B23 #23595B
split-complementary
#41235B #595B23 #235B25
monochromatic
#100916 #21122F #41235B #613487 #8045B3

Accessibility & contrast

On white

12.99
#41235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41235B
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41235B#FFFFFF#000000##FFFFFF
##41235B1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305D
Deuteranopia (green-blind)
#1A315A
Tritanopia (blue-blind)
#3D2E3B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41235b;
/* rgb */ color: rgb(65, 35, 91);
/* oklch */ color: oklch(32.5% 0.099 306.4);
Tailwind
colors: {
  custom: {
    50: '#785f8a',
    500: '#41235b',
    950: '#000000',
  },
}
SCSS
$custom: #41235b;
$custom-light: #785f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#41235b",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 272.143,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32468,
    "c": 0.09895,
    "h": 306.4
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#41235B
secondary
#6A8F4B
accent
#D4548F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #41235B

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

Preview Lab → · Contrast checker → · Palette generator →

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