#41237D#41237D

#41237D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.143 H 292.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#41237D
RGBrgb(65, 35, 125)
HSLhsl(260, 56%, 31%)
HSVhsv(260, 72%, 49%)
CMYKcmyk(48%, 72%, 0%, 51%)
CIE-LABlab(23.02, 36.09, -46.02)
CIE-LCHlch(23.02, 58.48, 308.10°)
OKLaboklab(35.23% 0.0555 -0.1318)
OKLCHoklch(35.23% 0.143 292.8)
XYZxyz(6.4817, 3.8063, 19.7912)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41237D #5F7D23
analogous
#23327D #41237D #6E237D
triadic
#41237D #7D4123 #237D41
tetradic
#41237D #7D2332 #5F7D23 #237D6E
square
#41237D #7D2332 #5F7D23 #237D6E
split-complementary
#41237D #7D6E23 #327D23
monochromatic
#0F081D #28164D #41237D #5A30AD #784DCD

Accessibility & contrast

On white

11.92
#41237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#41237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41237D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41237D#FFFFFF#000000##FFFFFF
##41237D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#2F3A4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41237d;
/* rgb */ color: rgb(65, 35, 125);
/* oklch */ color: oklch(35.2% 0.143 292.8);
Tailwind
colors: {
  custom: {
    50: '#7c60a3',
    500: '#41237d',
    950: '#000000',
  },
}
SCSS
$custom: #41237d;
$custom-light: #7c60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41237d",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 260,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.14302,
    "h": 292.8
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#41237D
secondary
#8EAF4C
accent
#E048AD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41237D

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

Preview Lab → · Contrast checker → · Palette generator →

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