#412667#412667

#412667 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.110 H 299.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#412667
RGBrgb(65, 38, 103)
HSLhsl(265, 46%, 28%)
HSVhsv(265, 63%, 40%)
CMYKcmyk(36.9%, 63.1%, 0%, 59.6%)
CIE-LABlab(21.91, 27.88, -33.69)
CIE-LCHlch(21.91, 43.73, 309.62°)
OKLaboklab(33.87% 0.0544 -0.0956)
OKLCHoklch(33.87% 0.11 299.7)
XYZxyz(5.3207, 3.4893, 13.2225)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412667 #4C6726
analogous
#262C67 #412667 #612667
triadic
#412667 #674126 #266741
tetradic
#412667 #67262C #4C6726 #266761
square
#412667 #67262C #4C6726 #266761
split-complementary
#412667 #676126 #2C6726
monochromatic
#0E0816 #25163A #412667 #5D3694 #7A4BBD

Accessibility & contrast

On white

12.37
#412667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412667
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412667#FFFFFF#000000##FFFFFF
##4126671.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023469
Deuteranopia (green-blind)
#103466
Tritanopia (blue-blind)
#393442
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412667;
/* rgb */ color: rgb(65, 38, 103);
/* oklch */ color: oklch(33.9% 0.110 299.7);
Tailwind
colors: {
  custom: {
    50: '#796293',
    500: '#412667',
    950: '#000000',
  },
}
SCSS
$custom: #412667;
$custom-light: #796293;
$custom-dark: #000000;
JSON
{
  "hex": "#412667",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 264.923,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.10998,
    "h": 299.7
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#412667
secondary
#7B9A4F
accent
#D6529F
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412667

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

Preview Lab → · Contrast checker → · Palette generator →

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