#412058#412058

#412058 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.100 H 309.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#412058
RGBrgb(65, 32, 88)
HSLhsl(275, 47%, 24%)
HSVhsv(275, 64%, 35%)
CMYKcmyk(26.1%, 63.6%, 0%, 65.5%)
CIE-LABlab(19.48, 27.38, -27.68)
CIE-LCHlch(19.48, 38.93, 314.68°)
OKLaboklab(31.76% 0.0631 -0.0779)
OKLCHoklch(31.76% 0.1 309)
XYZxyz(4.4576, 2.8615, 9.5481)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412058 #375820
analogous
#252058 #412058 #582053
triadic
#412058 #584120 #205841
tetradic
#412058 #582520 #375820 #205358
square
#412058 #582520 #375820 #205358
split-complementary
#412058 #535820 #205825
monochromatic
#110816 #20102B #412058 #623085 #8341B2

Accessibility & contrast

On white

13.36
#412058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#412058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412058
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412058#FFFFFF#000000##FFFFFF
##4120581.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2E5A
Deuteranopia (green-blind)
#193057
Tritanopia (blue-blind)
#3E2B38
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412058;
/* rgb */ color: rgb(65, 32, 88);
/* oklch */ color: oklch(31.8% 0.100 309.0);
Tailwind
colors: {
  custom: {
    50: '#785d87',
    500: '#412058',
    950: '#000000',
  },
}
SCSS
$custom: #412058;
$custom-light: #785d87;
$custom-dark: #000000;
JSON
{
  "hex": "#412058",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 275.357,
    "s": 46.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31755,
    "c": 0.10025,
    "h": 309
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#412058
secondary
#648C47
accent
#D65188
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412058

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

Preview Lab → · Contrast checker → · Palette generator →

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