#41235E#41235E

#41235E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.103 H 304.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#41235E
RGBrgb(65, 35, 94)
HSLhsl(271, 46%, 25%)
HSVhsv(271, 63%, 37%)
CMYKcmyk(30.9%, 62.8%, 0%, 63.1%)
CIE-LABlab(20.57, 27.18, -29.92)
CIE-LCHlch(20.57, 40.42, 312.26°)
OKLaboklab(32.69% 0.0587 -0.0845)
OKLCHoklch(32.69% 0.103 304.8)
XYZxyz(4.8009, 3.1341, 10.9395)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41235E #405E23
analogous
#23235E #41235E #5E235D
triadic
#41235E #5E4123 #235E41
tetradic
#41235E #5E2323 #405E23 #235D5E
square
#41235E #5E2323 #405E23 #235D5E
split-complementary
#41235E #5D5E23 #235E23
monochromatic
#0F0816 #221231 #41235E #60348B #7F44B7

Accessibility & contrast

On white

12.91
#41235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#41235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41235E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41235E#FFFFFF#000000##FFFFFF
##41235E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093160
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#3C2F3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41235e;
/* rgb */ color: rgb(65, 35, 94);
/* oklch */ color: oklch(32.7% 0.103 304.8);
Tailwind
colors: {
  custom: {
    50: '#785f8c',
    500: '#41235e',
    950: '#000000',
  },
}
SCSS
$custom: #41235e;
$custom-light: #785f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#41235e",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 270.508,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.10291,
    "h": 304.8
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#41235E
secondary
#6E924B
accent
#D55293
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41235E

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

Preview Lab → · Contrast checker → · Palette generator →

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