#412665#412665

#412665 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.7% C 0.107 H 300.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#412665
RGBrgb(65, 38, 101)
HSLhsl(266, 45%, 27%)
HSVhsv(266, 62%, 40%)
CMYKcmyk(35.6%, 62.4%, 0%, 60.4%)
CIE-LABlab(21.76, 27.31, -32.61)
CIE-LCHlch(21.76, 42.54, 309.94°)
OKLaboklab(33.71% 0.0545 -0.0924)
OKLCHoklch(33.71% 0.107 300.5)
XYZxyz(5.2215, 3.4496, 12.7001)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412665 #4A6526
analogous
#262B65 #412665 #612665
triadic
#412665 #654126 #266541
tetradic
#412665 #65262B #4A6526 #266561
square
#412665 #65262B #4A6526 #266561
split-complementary
#412665 #656126 #2B6526
monochromatic
#0E0816 #241539 #412665 #5E3791 #7B4ABB

Accessibility & contrast

On white

12.43
#412665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412665
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412665#FFFFFF#000000##FFFFFF
##4126651.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063467
Deuteranopia (green-blind)
#133464
Tritanopia (blue-blind)
#3A3341
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412665;
/* rgb */ color: rgb(65, 38, 101);
/* oklch */ color: oklch(33.7% 0.107 300.5);
Tailwind
colors: {
  custom: {
    50: '#786191',
    500: '#412665',
    950: '#000000',
  },
}
SCSS
$custom: #412665;
$custom-light: #786191;
$custom-dark: #000000;
JSON
{
  "hex": "#412665",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 265.714,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.10727,
    "h": 300.5
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#412665
secondary
#79984F
accent
#D5539D
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412665

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

Preview Lab → · Contrast checker → · Palette generator →

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