#412264#412264

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

Color values

HEX#412264
RGBrgb(65, 34, 100)
HSLhsl(268, 49%, 26%)
HSVhsv(268, 66%, 39%)
CMYKcmyk(35%, 66%, 0%, 60.8%)
CIE-LABlab(20.78, 29.45, -33.54)
CIE-LCHlch(20.78, 44.63, 311.29°)
OKLaboklab(32.98% 0.06 -0.0951)
OKLCHoklch(32.98% 0.112 302.2)
XYZxyz(5.0517, 3.1880, 12.4033)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412264 #456422
analogous
#222464 #412264 #622264
triadic
#412264 #644122 #226441
tetradic
#412264 #642224 #456422 #226462
square
#412264 #642224 #456422 #226462
split-complementary
#412264 #646222 #246422
monochromatic
#0F0817 #231236 #412264 #5F3292 #7C42BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412264#FFFFFF#000000##FFFFFF
##4122641.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)
#003166
Deuteranopia (green-blind)
#0D3263
Tritanopia (blue-blind)
#3A303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412264;
/* rgb */ color: rgb(65, 34, 100);
/* oklch */ color: oklch(33.0% 0.112 302.2);
Tailwind
colors: {
  custom: {
    50: '#795f91',
    500: '#412264',
    950: '#000000',
  },
}
SCSS
$custom: #412264;
$custom-light: #795f91;
$custom-dark: #000000;
JSON
{
  "hex": "#412264",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 268.182,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32976,
    "c": 0.11243,
    "h": 302.2
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#412264
secondary
#73984A
accent
#D94F98
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #412264

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

Preview Lab → · Contrast checker → · Palette generator →

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