#412475#412475

#412475 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.131 H 295.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#412475
RGBrgb(65, 36, 117)
HSLhsl(261, 53%, 30%)
HSVhsv(261, 69%, 46%)
CMYKcmyk(44.4%, 69.2%, 0%, 54.1%)
CIE-LABlab(22.55, 33.16, -41.69)
CIE-LCHlch(22.55, 53.27, 308.50°)
OKLaboklab(34.67% 0.0557 -0.1191)
OKLCHoklch(34.67% 0.131 295.1)
XYZxyz(6.0209, 3.6698, 17.2173)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412475 #587524
analogous
#243075 #412475 #692475
triadic
#412475 #754124 #247541
tetradic
#412475 #752430 #587524 #247569
square
#412475 #752430 #587524 #247569
split-complementary
#412475 #756924 #307524
monochromatic
#0D0717 #271646 #412475 #5B32A4 #784CC8

Accessibility & contrast

On white

12.11
#412475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412475
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412475#FFFFFF#000000##FFFFFF
##4124751.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#333749
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412475;
/* rgb */ color: rgb(65, 36, 117);
/* oklch */ color: oklch(34.7% 0.131 295.1);
Tailwind
colors: {
  custom: {
    50: '#7a619d',
    500: '#412475',
    950: '#000000',
  },
}
SCSS
$custom: #412475;
$custom-light: #7a619d;
$custom-dark: #000000;
JSON
{
  "hex": "#412475",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 261.481,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.13149,
    "h": 295.1
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#412475
secondary
#87A84D
accent
#DC4BA8
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412475

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

Preview Lab → · Contrast checker → · Palette generator →

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