#412270#412270

#412270 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.128 H 297.4°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#412270
RGBrgb(65, 34, 112)
HSLhsl(264, 53%, 29%)
HSVhsv(264, 70%, 44%)
CMYKcmyk(42%, 69.6%, 0%, 56.1%)
CIE-LABlab(21.72, 32.86, -39.83)
CIE-LCHlch(21.72, 51.63, 309.53°)
OKLaboklab(33.95% 0.0588 -0.1136)
OKLCHoklch(33.95% 0.128 297.4)
XYZxyz(5.6759, 3.4376, 15.6906)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412270 #517022
analogous
#222A70 #412270 #682270
triadic
#412270 #704122 #227041
tetradic
#412270 #70222A #517022 #227068
square
#412270 #70222A #517022 #227068
split-complementary
#412270 #706822 #2A7022
monochromatic
#0E0717 #261441 #412270 #5C309F #7946C7

Accessibility & contrast

On white

12.44
#412270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#412270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412270
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412270#FFFFFF#000000##FFFFFF
##4122701.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#353446
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412270;
/* rgb */ color: rgb(65, 34, 112);
/* oklch */ color: oklch(33.9% 0.128 297.4);
Tailwind
colors: {
  custom: {
    50: '#7a5f9a',
    500: '#412270',
    950: '#000000',
  },
}
SCSS
$custom: #412270;
$custom-light: #7a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#412270",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 263.846,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.1279,
    "h": 297.4
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#412270
secondary
#80A34A
accent
#DD4BA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412270

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

Preview Lab → · Contrast checker → · Palette generator →

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