#412B63#412B63

#412B63 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.5% C 0.096 H 299.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#412B63
RGBrgb(65, 43, 99)
HSLhsl(264, 39%, 28%)
HSVhsv(264, 57%, 39%)
CMYKcmyk(34.3%, 56.6%, 0%, 61.2%)
CIE-LABlab(22.84, 23.57, -29.59)
CIE-LCHlch(22.84, 37.83, 308.55°)
OKLaboklab(34.46% 0.0472 -0.0835)
OKLCHoklch(34.46% 0.096 299.5)
XYZxyz(5.2954, 3.7524, 12.2473)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B63 #4D632B
analogous
#2B3163 #412B63 #5D2B63
triadic
#412B63 #63412B #2B6341
tetradic
#412B63 #632B31 #4D632B #2B635D
square
#412B63 #632B31 #4D632B #2B635D
split-complementary
#412B63 #635D2B #31632B
monochromatic
#0E0915 #251838 #412B63 #5D3E8E #7A54B5

Accessibility & contrast

On white

12.00
#412B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B63
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B63#FFFFFF#000000##FFFFFF
##412B631.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163665
Deuteranopia (green-blind)
#1C3662
Tritanopia (blue-blind)
#3A3642
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412b63;
/* rgb */ color: rgb(65, 43, 99);
/* oklch */ color: oklch(34.5% 0.096 299.5);
Tailwind
colors: {
  custom: {
    50: '#786590',
    500: '#412b63',
    950: '#000000',
  },
}
SCSS
$custom: #412b63;
$custom-light: #786590;
$custom-dark: #000000;
JSON
{
  "hex": "#412b63",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 263.571,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3446,
    "c": 0.09596,
    "h": 299.5
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#412B63
secondary
#7C9555
accent
#CF58A1
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #412B63

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

Preview Lab → · Contrast checker → · Palette generator →

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