#412167#412167

#412167 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.1% C 0.118 H 301.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#412167
RGBrgb(65, 33, 103)
HSLhsl(267, 51%, 27%)
HSVhsv(267, 68%, 40%)
CMYKcmyk(36.9%, 68%, 0%, 59.6%)
CIE-LABlab(20.79, 30.88, -35.48)
CIE-LCHlch(20.79, 47.03, 311.03°)
OKLaboklab(33.06% 0.061 -0.1008)
OKLCHoklch(33.06% 0.118 301.2)
XYZxyz(5.1714, 3.1908, 13.1728)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412167 #476721
analogous
#212467 #412167 #642167
triadic
#412167 #674121 #216741
tetradic
#412167 #672124 #476721 #216764
square
#412167 #672124 #476721 #216764
split-complementary
#412167 #676421 #246721
monochromatic
#0F0717 #241239 #412167 #5E3095 #7C40C2

Accessibility & contrast

On white

12.82
#412167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#412167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412167
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412167#FFFFFF#000000##FFFFFF
##4121671.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#053265
Tritanopia (blue-blind)
#393040
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412167;
/* rgb */ color: rgb(65, 33, 103);
/* oklch */ color: oklch(33.1% 0.118 301.2);
Tailwind
colors: {
  custom: {
    50: '#795e93',
    500: '#412167',
    950: '#000000',
  },
}
SCSS
$custom: #412167;
$custom-light: #795e93;
$custom-dark: #000000;
JSON
{
  "hex": "#412167",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 267.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.11787,
    "h": 301.2
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#412167
secondary
#759B49
accent
#DB4D9A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #412167

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

Preview Lab → · Contrast checker → · Palette generator →

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