#412E70#412E70

#412E70 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.110 H 293.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#412E70
RGBrgb(65, 46, 112)
HSLhsl(257, 42%, 31%)
HSVhsv(257, 59%, 44%)
CMYKcmyk(42%, 58.9%, 0%, 56.1%)
CIE-LABlab(24.47, 25.52, -35.37)
CIE-LCHlch(24.47, 43.62, 305.81°)
OKLaboklab(35.96% 0.0435 -0.1005)
OKLCHoklch(35.96% 0.11 293.4)
XYZxyz(6.0808, 4.2475, 15.8256)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E70 #5D702E
analogous
#2E3C70 #412E70 #622E70
triadic
#412E70 #70412E #2E7041
tetradic
#412E70 #702E3C #5D702E #2E7062
square
#412E70 #702E3C #5D702E #2E7062
split-complementary
#412E70 #70622E #3C702E
monochromatic
#0F0A19 #281C45 #412E70 #5A409B #785CBC

Accessibility & contrast

On white

11.35
#412E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E70
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E70#FFFFFF#000000##FFFFFF
##412E701.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#12396F
Tritanopia (blue-blind)
#353C4A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412e70;
/* rgb */ color: rgb(65, 46, 112);
/* oklch */ color: oklch(36.0% 0.110 293.4);
Tailwind
colors: {
  custom: {
    50: '#796799',
    500: '#412e70',
    950: '#000000',
  },
}
SCSS
$custom: #412e70;
$custom-light: #796799;
$custom-dark: #000000;
JSON
{
  "hex": "#412e70",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 257.273,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35957,
    "c": 0.10953,
    "h": 293.4
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#412E70
secondary
#8CA158
accent
#D256AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412E70

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

Preview Lab → · Contrast checker → · Palette generator →

#412E70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva