#412C70#412C70

#412C70 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.113 H 294.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#412C70
RGBrgb(65, 44, 112)
HSLhsl(259, 44%, 31%)
HSVhsv(259, 61%, 44%)
CMYKcmyk(42%, 60.7%, 0%, 56.1%)
CIE-LABlab(23.98, 26.80, -36.16)
CIE-LCHlch(23.98, 45.01, 306.54°)
OKLaboklab(35.6% 0.0462 -0.1028)
OKLCHoklch(35.6% 0.113 294.2)
XYZxyz(6.0045, 4.0949, 15.8001)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C70 #5B702C
analogous
#2C3970 #412C70 #632C70
triadic
#412C70 #70412C #2C7041
tetradic
#412C70 #702C39 #5B702C #2C7063
square
#412C70 #702C39 #5B702C #2C7063
split-complementary
#412C70 #70632C #39702C
monochromatic
#0E0918 #271B44 #412C70 #5A3D9C #7859BE

Accessibility & contrast

On white

11.54
#412C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C70
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C70#FFFFFF#000000##FFFFFF
##412C701.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A72
Deuteranopia (green-blind)
#0D386F
Tritanopia (blue-blind)
#353B49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412c70;
/* rgb */ color: rgb(65, 44, 112);
/* oklch */ color: oklch(35.6% 0.113 294.2);
Tailwind
colors: {
  custom: {
    50: '#796699',
    500: '#412c70',
    950: '#000000',
  },
}
SCSS
$custom: #412c70;
$custom-light: #796699;
$custom-dark: #000000;
JSON
{
  "hex": "#412c70",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 258.529,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35595,
    "c": 0.11273,
    "h": 294.2
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#412C70
secondary
#8AA256
accent
#D354AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412C70

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

Preview Lab → · Contrast checker → · Palette generator →

#412C70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva