#412175#412175

#412175 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.136 H 295.9°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#412175
RGBrgb(65, 33, 117)
HSLhsl(263, 56%, 29%)
HSVhsv(263, 72%, 46%)
CMYKcmyk(44.4%, 71.8%, 0%, 54.1%)
CIE-LABlab(21.93, 34.86, -42.70)
CIE-LCHlch(21.93, 55.12, 309.23°)
OKLaboklab(34.23% 0.0591 -0.122)
OKLCHoklch(34.23% 0.136 295.9)
XYZxyz(5.9339, 3.4958, 17.1883)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412175 #557521
analogous
#212B75 #412175 #6B2175
triadic
#412175 #754121 #217541
tetradic
#412175 #75212B #557521 #21756B
square
#412175 #75212B #557521 #21756B
split-complementary
#412175 #756B21 #2B7521
monochromatic
#0D0718 #261445 #412175 #5C2EA5 #7846CB

Accessibility & contrast

On white

12.36
#412175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412175
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412175#FFFFFF#000000##FFFFFF
##4121751.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#333648
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412175;
/* rgb */ color: rgb(65, 33, 117);
/* oklch */ color: oklch(34.2% 0.136 295.9);
Tailwind
colors: {
  custom: {
    50: '#7b5f9d',
    500: '#412175',
    950: '#000000',
  },
}
SCSS
$custom: #412175;
$custom-light: #7b5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#412175",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 262.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34231,
    "c": 0.13561,
    "h": 295.9
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#412175
secondary
#84A84A
accent
#DF49A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412175

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

Preview Lab → · Contrast checker → · Palette generator →

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