#412663#412663

#412663 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.105 H 301.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#412663
RGBrgb(65, 38, 99)
HSLhsl(267, 45%, 27%)
HSVhsv(267, 62%, 39%)
CMYKcmyk(34.3%, 61.6%, 0%, 61.2%)
CIE-LABlab(21.62, 26.74, -31.53)
CIE-LCHlch(21.62, 41.34, 310.30°)
OKLaboklab(33.56% 0.0545 -0.0892)
OKLCHoklch(33.56% 0.105 301.4)
XYZxyz(5.1247, 3.4109, 12.1903)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412663 #486326
analogous
#262A63 #412663 #602663
triadic
#412663 #634126 #266341
tetradic
#412663 #63262A #486326 #266360
square
#412663 #63262A #486326 #266360
split-complementary
#412663 #636026 #2A6326
monochromatic
#0F0816 #241537 #412663 #5E378F #7B4AB9

Accessibility & contrast

On white

12.48
#412663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#412663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412663
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412663#FFFFFF#000000##FFFFFF
##4126631.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3365
Deuteranopia (green-blind)
#153462
Tritanopia (blue-blind)
#3A3240
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412663;
/* rgb */ color: rgb(65, 38, 99);
/* oklch */ color: oklch(33.6% 0.105 301.4);
Tailwind
colors: {
  custom: {
    50: '#786190',
    500: '#412663',
    950: '#000000',
  },
}
SCSS
$custom: #412663;
$custom-light: #786190;
$custom-dark: #000000;
JSON
{
  "hex": "#412663",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 266.557,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.10455,
    "h": 301.4
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#412663
secondary
#76964F
accent
#D4549B
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412663

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

Preview Lab → · Contrast checker → · Palette generator →

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