#412F63#412F63

#412F63 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.2% C 0.089 H 297.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#412F63
RGBrgb(65, 47, 99)
HSLhsl(261, 36%, 29%)
HSVhsv(261, 53%, 39%)
CMYKcmyk(34.3%, 52.5%, 0%, 61.2%)
CIE-LABlab(23.86, 20.97, -27.95)
CIE-LCHlch(23.86, 34.94, 306.88°)
OKLaboklab(35.22% 0.0412 -0.0788)
OKLCHoklch(35.22% 0.089 297.6)
XYZxyz(5.4481, 4.0576, 12.2981)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F63 #51632F
analogous
#2F3763 #412F63 #5B2F63
triadic
#412F63 #63412F #2F6341
tetradic
#412F63 #632F37 #51632F #2F635B
square
#412F63 #632F37 #51632F #2F635B
split-complementary
#412F63 #635B2F #37632F
monochromatic
#0E0A15 #261B39 #412F63 #5C438C #795BB1

Accessibility & contrast

On white

11.59
#412F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F63
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F63#FFFFFF#000000##FFFFFF
##412F631.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#213862
Tritanopia (blue-blind)
#3A3944
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412f63;
/* rgb */ color: rgb(65, 47, 99);
/* oklch */ color: oklch(35.2% 0.089 297.6);
Tailwind
colors: {
  custom: {
    50: '#776890',
    500: '#412f63',
    950: '#000000',
  },
}
SCSS
$custom: #412f63;
$custom-light: #776890;
$custom-dark: #000000;
JSON
{
  "hex": "#412f63",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 260.769,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35223,
    "c": 0.0889,
    "h": 297.6
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#412F63
secondary
#809559
accent
#CC5CA5
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412F63

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

Preview Lab → · Contrast checker → · Palette generator →

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