#412F65#412F65

#412F65 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.4% C 0.092 H 296.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#412F65
RGBrgb(65, 47, 101)
HSLhsl(260, 36%, 29%)
HSVhsv(260, 53%, 40%)
CMYKcmyk(35.6%, 53.5%, 0%, 60.4%)
CIE-LABlab(23.99, 21.56, -29.05)
CIE-LCHlch(23.99, 36.18, 306.58°)
OKLaboklab(35.36% 0.0414 -0.082)
OKLCHoklch(35.36% 0.092 296.8)
XYZxyz(5.5449, 4.0964, 12.8079)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F65 #53652F
analogous
#2F3865 #412F65 #5C2F65
triadic
#412F65 #65412F #2F6541
tetradic
#412F65 #652F38 #53652F #2F655C
square
#412F65 #652F38 #53652F #2F655C
split-complementary
#412F65 #655C2F #38652F
monochromatic
#0D0A15 #261C3B #412F65 #5C428F #795BB3

Accessibility & contrast

On white

11.54
#412F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F65
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F65#FFFFFF#000000##FFFFFF
##412F651.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3967
Deuteranopia (green-blind)
#203864
Tritanopia (blue-blind)
#393945
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412f65;
/* rgb */ color: rgb(65, 47, 101);
/* oklch */ color: oklch(35.4% 0.092 296.8);
Tailwind
colors: {
  custom: {
    50: '#786891',
    500: '#412f65',
    950: '#000000',
  },
}
SCSS
$custom: #412f65;
$custom-light: #786891;
$custom-dark: #000000;
JSON
{
  "hex": "#412f65",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 260,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35358,
    "c": 0.09186,
    "h": 296.8
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#412F65
secondary
#829759
accent
#CC5BA7
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060D
muted
#7B7A7D

Preview Lab

Preview with #412F65

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

Preview Lab → · Contrast checker → · Palette generator →

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