#41237F#41237F

#41237F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.146 H 292.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#41237F
RGBrgb(65, 35, 127)
HSLhsl(260, 57%, 32%)
HSVhsv(260, 72%, 50%)
CMYKcmyk(48.8%, 72.4%, 0%, 50.2%)
CIE-LABlab(23.20, 36.67, -46.99)
CIE-LCHlch(23.20, 59.61, 307.97°)
OKLaboklab(35.41% 0.0551 -0.1347)
OKLCHoklch(35.41% 0.146 292.3)
XYZxyz(6.6107, 3.8580, 20.4709)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41237F #617F23
analogous
#23337F #41237F #6F237F
triadic
#41237F #7F4123 #237F41
tetradic
#41237F #7F2333 #617F23 #237F6F
square
#41237F #7F2333 #617F23 #237F6F
split-complementary
#41237F #7F6F23 #337F23
monochromatic
#10091F #28164F #41237F #5A30AF #784ECE

Accessibility & contrast

On white

11.85
#41237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#41237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41237F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41237F#FFFFFF#000000##FFFFFF
##41237F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#2E3A4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41237f;
/* rgb */ color: rgb(65, 35, 127);
/* oklch */ color: oklch(35.4% 0.146 292.3);
Tailwind
colors: {
  custom: {
    50: '#7c60a5',
    500: '#41237f',
    950: '#000000',
  },
}
SCSS
$custom: #41237f;
$custom-light: #7c60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41237f",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 259.565,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.14553,
    "h": 292.3
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#41237F
secondary
#90B14C
accent
#E048AE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41237F

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

Preview Lab → · Contrast checker → · Palette generator →

#41237F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva