#412358#412358

#412358 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.095 H 308.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#412358
RGBrgb(65, 35, 88)
HSLhsl(274, 43%, 24%)
HSVhsv(274, 60%, 35%)
CMYKcmyk(26.1%, 60.2%, 0%, 65.5%)
CIE-LABlab(20.17, 25.56, -26.59)
CIE-LCHlch(20.17, 36.88, 313.87°)
OKLaboklab(32.26% 0.0586 -0.0747)
OKLCHoklch(32.26% 0.095 308.1)
XYZxyz(4.5421, 3.0305, 9.5763)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412358 #3A5823
analogous
#272358 #412358 #582355
triadic
#412358 #584123 #235841
tetradic
#412358 #582723 #3A5823 #235558
square
#412358 #582723 #3A5823 #235558
split-complementary
#412358 #555823 #235827
monochromatic
#100916 #21122C #412358 #613484 #8246B0

Accessibility & contrast

On white

13.08
#412358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412358
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412358#FFFFFF#000000##FFFFFF
##4123581.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F5A
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#3E2D39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412358;
/* rgb */ color: rgb(65, 35, 88);
/* oklch */ color: oklch(32.3% 0.095 308.1);
Tailwind
colors: {
  custom: {
    50: '#775f87',
    500: '#412358',
    950: '#000000',
  },
}
SCSS
$custom: #412358;
$custom-light: #775f87;
$custom-dark: #000000;
JSON
{
  "hex": "#412358",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 273.962,
    "s": 43.089,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32256,
    "c": 0.09497,
    "h": 308.1
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#412358
secondary
#678C4B
accent
#D3558C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412358

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

Preview Lab → · Contrast checker → · Palette generator →

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