#412267#412267

#412267 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.2% C 0.116 H 300.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#412267
RGBrgb(65, 34, 103)
HSLhsl(267, 50%, 27%)
HSVhsv(267, 67%, 40%)
CMYKcmyk(36.9%, 67%, 0%, 59.6%)
CIE-LABlab(21.01, 30.29, -35.13)
CIE-LCHlch(21.01, 46.39, 310.77°)
OKLaboklab(33.21% 0.0598 -0.0998)
OKLCHoklch(33.21% 0.116 300.9)
XYZxyz(5.1996, 3.2471, 13.1822)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412267 #486722
analogous
#222567 #412267 #642267
triadic
#412267 #674122 #226741
tetradic
#412267 #672225 #486722 #226764
square
#412267 #672225 #486722 #226764
split-complementary
#412267 #676422 #256722
monochromatic
#0F0817 #241339 #412267 #5E3195 #7B43C1

Accessibility & contrast

On white

12.73
#412267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#412267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412267
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412267#FFFFFF#000000##FFFFFF
##4122671.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412267;
/* rgb */ color: rgb(65, 34, 103);
/* oklch */ color: oklch(33.2% 0.116 300.9);
Tailwind
colors: {
  custom: {
    50: '#795f93',
    500: '#412267',
    950: '#000000',
  },
}
SCSS
$custom: #412267;
$custom-light: #795f93;
$custom-dark: #000000;
JSON
{
  "hex": "#412267",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 266.957,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33212,
    "c": 0.11633,
    "h": 300.9
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#412267
secondary
#769B4A
accent
#DA4E9B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412267

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

Preview Lab → · Contrast checker → · Palette generator →

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