#412180#412180

#412180 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.149 H 292.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#412180
RGBrgb(65, 33, 128)
HSLhsl(260, 59%, 32%)
HSVhsv(260, 74%, 50%)
CMYKcmyk(49.2%, 74.2%, 0%, 49.8%)
CIE-LABlab(22.90, 38.06, -48.12)
CIE-LCHlch(22.90, 61.35, 308.34°)
OKLaboklab(35.22% 0.0569 -0.138)
OKLCHoklch(35.22% 0.149 292.4)
XYZxyz(6.6190, 3.7698, 20.7968)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412180 #608021
analogous
#213080 #412180 #712180
triadic
#412180 #804121 #218041
tetradic
#412180 #802130 #608021 #218071
square
#412180 #802130 #608021 #218071
split-complementary
#412180 #807121 #308021
monochromatic
#10081F #28144F #412180 #5A2EB1 #784BD1

Accessibility & contrast

On white

11.97
#412180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412180
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412180#FFFFFF#000000##FFFFFF
##4121801.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#2D3A4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412180;
/* rgb */ color: rgb(65, 33, 128);
/* oklch */ color: oklch(35.2% 0.149 292.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fa6',
    500: '#412180',
    950: '#000000',
  },
}
SCSS
$custom: #412180;
$custom-light: #7c5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#412180",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 260.211,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.14924,
    "h": 292.4
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#412180
secondary
#8FB34A
accent
#E246AD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412180

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

Preview Lab → · Contrast checker → · Palette generator →

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