#412452#412452

#412452 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.085 H 311.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#412452
RGBrgb(65, 36, 82)
HSLhsl(278, 39%, 23%)
HSVhsv(278, 56%, 32%)
CMYKcmyk(20.7%, 56.1%, 0%, 67.8%)
CIE-LABlab(20.02, 23.35, -22.80)
CIE-LCHlch(20.02, 32.63, 315.69°)
OKLaboklab(32.03% 0.0565 -0.0637)
OKLCHoklch(32.03% 0.085 311.6)
XYZxyz(4.3336, 2.9949, 8.3308)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412452 #355224
analogous
#2A2452 #412452 #52244C
triadic
#412452 #524124 #245241
tetradic
#412452 #522A24 #355224 #244C52
square
#412452 #522A24 #355224 #244C52
split-complementary
#412452 #4C5224 #24522A
monochromatic
#110915 #1F1127 #412452 #63377D #8449A7

Accessibility & contrast

On white

13.13
#412452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#412452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412452
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412452#FFFFFF#000000##FFFFFF
##4124521.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#3F2C37
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412452;
/* rgb */ color: rgb(65, 36, 82);
/* oklch */ color: oklch(32.0% 0.085 311.6);
Tailwind
colors: {
  custom: {
    50: '#776083',
    500: '#412452',
    950: '#000000',
  },
}
SCSS
$custom: #412452;
$custom-light: #776083;
$custom-dark: #000000;
JSON
{
  "hex": "#412452",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 277.826,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32028,
    "c": 0.08517,
    "h": 311.6
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#412452
secondary
#61864C
accent
#CF5985
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050A
muted
#7B797C

Preview Lab

Preview with #412452

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

Preview Lab → · Contrast checker → · Palette generator →

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