#412F6A#412F6A

#412F6A is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.7% C 0.099 H 295.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#412F6A
RGBrgb(65, 47, 106)
HSLhsl(258, 39%, 30%)
HSVhsv(258, 56%, 42%)
CMYKcmyk(38.7%, 55.7%, 0%, 58.4%)
CIE-LABlab(24.31, 23.05, -31.77)
CIE-LCHlch(24.31, 39.25, 305.97°)
OKLaboklab(35.71% 0.0419 -0.0899)
OKLCHoklch(35.71% 0.099 295)
XYZxyz(5.7973, 4.1973, 14.1376)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F6A #586A2F
analogous
#2F3B6A #412F6A #5E2F6A
triadic
#412F6A #6A412F #2F6A41
tetradic
#412F6A #6A2F3B #586A2F #2F6A5E
square
#412F6A #6A2F3B #586A2F #2F6A5E
split-complementary
#412F6A #6A5E2F #3B6A2F
monochromatic
#0D0915 #271C40 #412F6A #5B4294 #785CB7

Accessibility & contrast

On white

11.42
#412F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F6A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F6A#FFFFFF#000000##FFFFFF
##412F6A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#1B3969
Tritanopia (blue-blind)
#373B47
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412f6a;
/* rgb */ color: rgb(65, 47, 106);
/* oklch */ color: oklch(35.7% 0.099 295.0);
Tailwind
colors: {
  custom: {
    50: '#786895',
    500: '#412f6a',
    950: '#000000',
  },
}
SCSS
$custom: #412f6a;
$custom-light: #786895;
$custom-dark: #000000;
JSON
{
  "hex": "#412f6a",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 258.305,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.35706,
    "c": 0.0992,
    "h": 295
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#412F6A
secondary
#879B59
accent
#CE59AB
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #412F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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