#412357#412357

#412357 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.2% C 0.094 H 308.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#412357
RGBrgb(65, 35, 87)
HSLhsl(275, 43%, 24%)
HSVhsv(275, 60%, 34%)
CMYKcmyk(25.3%, 59.8%, 0%, 65.9%)
CIE-LABlab(20.10, 25.29, -26.02)
CIE-LCHlch(20.10, 36.29, 314.18°)
OKLaboklab(32.19% 0.0585 -0.0731)
OKLCHoklch(32.19% 0.094 308.7)
XYZxyz(4.5010, 3.0141, 9.3596)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412357 #395723
analogous
#272357 #412357 #572353
triadic
#412357 #574123 #235741
tetradic
#412357 #572723 #395723 #235357
square
#412357 #572723 #395723 #235357
split-complementary
#412357 #535723 #235727
monochromatic
#100916 #20112B #412357 #623583 #8246AE

Accessibility & contrast

On white

13.10
#412357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412357
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412357#FFFFFF#000000##FFFFFF
##4123571.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#1D3156
Tritanopia (blue-blind)
#3E2C39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412357;
/* rgb */ color: rgb(65, 35, 87);
/* oklch */ color: oklch(32.2% 0.094 308.7);
Tailwind
colors: {
  custom: {
    50: '#775f87',
    500: '#412357',
    950: '#000000',
  },
}
SCSS
$custom: #412357;
$custom-light: #775f87;
$custom-dark: #000000;
JSON
{
  "hex": "#412357",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 274.615,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32187,
    "c": 0.09365,
    "h": 308.7
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#412357
secondary
#668B4B
accent
#D2558A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412357

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

Preview Lab → · Contrast checker → · Palette generator →

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