#41237C#41237C

#41237C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.142 H 293.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#41237C
RGBrgb(65, 35, 124)
HSLhsl(260, 56%, 31%)
HSVhsv(260, 72%, 49%)
CMYKcmyk(47.6%, 71.8%, 0%, 51.4%)
CIE-LABlab(22.93, 35.79, -45.52)
CIE-LCHlch(22.93, 57.91, 308.17°)
OKLaboklab(35.14% 0.0557 -0.1304)
OKLCHoklch(35.14% 0.142 293.1)
XYZxyz(6.4181, 3.7809, 19.4565)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41237C #5E7C23
analogous
#23317C #41237C #6D237C
triadic
#41237C #7C4123 #237C41
tetradic
#41237C #7C2331 #5E7C23 #237C6D
square
#41237C #7C2331 #5E7C23 #237C6D
split-complementary
#41237C #7C6D23 #317C23
monochromatic
#0F081D #28164C #41237C #5A30AC #784DCD

Accessibility & contrast

On white

11.96
#41237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41237C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41237C#FFFFFF#000000##FFFFFF
##41237C1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#30394C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41237c;
/* rgb */ color: rgb(65, 35, 124);
/* oklch */ color: oklch(35.1% 0.142 293.1);
Tailwind
colors: {
  custom: {
    50: '#7b60a3',
    500: '#41237c',
    950: '#000000',
  },
}
SCSS
$custom: #41237c;
$custom-light: #7b60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41237c",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 260.225,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.14177,
    "h": 293.1
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#41237C
secondary
#8DAF4C
accent
#DF49AC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41237C

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

Preview Lab → · Contrast checker → · Palette generator →

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