#412F55#412F55

#412F55 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.3% C 0.068 H 304.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#412F55
RGBrgb(65, 47, 85)
HSLhsl(268, 29%, 26%)
HSVhsv(268, 45%, 33%)
CMYKcmyk(23.5%, 44.7%, 0%, 66.7%)
CIE-LABlab(23.04, 16.99, -20.04)
CIE-LCHlch(23.04, 26.27, 310.28°)
OKLaboklab(34.34% 0.0389 -0.0558)
OKLCHoklch(34.34% 0.068 304.9)
XYZxyz(4.8358, 3.8127, 9.0737)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F55 #43552F
analogous
#2F3055 #412F55 #542F55
triadic
#412F55 #55412F #2F5541
tetradic
#412F55 #552F30 #43552F #2F5554
square
#412F55 #552F30 #43552F #2F5554
split-complementary
#412F55 #55542F #30552F
monochromatic
#0F0B14 #23192E #412F55 #5F457C #7D5BA4

Accessibility & contrast

On white

11.91
#412F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F55
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F55#FFFFFF#000000##FFFFFF
##412F551.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#3E353E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412f55;
/* rgb */ color: rgb(65, 47, 85);
/* oklch */ color: oklch(34.3% 0.068 304.9);
Tailwind
colors: {
  custom: {
    50: '#766885',
    500: '#412f55',
    950: '#000000',
  },
}
SCSS
$custom: #412f55;
$custom-light: #766885;
$custom-dark: #000000;
JSON
{
  "hex": "#412f55",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 268.421,
    "s": 28.788,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34341,
    "c": 0.06799,
    "h": 304.9
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#412F55
secondary
#718659
accent
#C56396
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #412F55

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

Preview Lab → · Contrast checker → · Palette generator →

#412F55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva