#412666#412666

#412666 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.109 H 300.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#412666
RGBrgb(65, 38, 102)
HSLhsl(265, 46%, 27%)
HSVhsv(265, 63%, 40%)
CMYKcmyk(36.3%, 62.7%, 0%, 60%)
CIE-LABlab(21.83, 27.60, -33.15)
CIE-LCHlch(21.83, 43.13, 309.78°)
OKLaboklab(33.79% 0.0544 -0.094)
OKLCHoklch(33.79% 0.109 300.1)
XYZxyz(5.2708, 3.4693, 12.9598)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412666 #4B6626
analogous
#262B66 #412666 #612666
triadic
#412666 #664126 #266641
tetradic
#412666 #66262B #4B6626 #266661
square
#412666 #66262B #4B6626 #266661
split-complementary
#412666 #666126 #2B6626
monochromatic
#0E0816 #251539 #412666 #5D3793 #7A4BBC

Accessibility & contrast

On white

12.40
#412666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#412666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412666
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412666#FFFFFF#000000##FFFFFF
##4126661.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#393342
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412666;
/* rgb */ color: rgb(65, 38, 102);
/* oklch */ color: oklch(33.8% 0.109 300.1);
Tailwind
colors: {
  custom: {
    50: '#786292',
    500: '#412666',
    950: '#000000',
  },
}
SCSS
$custom: #412666;
$custom-light: #786292;
$custom-dark: #000000;
JSON
{
  "hex": "#412666",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 265.313,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.10863,
    "h": 300.1
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#412666
secondary
#7A994F
accent
#D5529E
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412666

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

Preview Lab → · Contrast checker → · Palette generator →

#412666 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva