#412697#412697

#412697 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.172 H 285.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#412697
RGBrgb(65, 38, 151)
HSLhsl(254, 60%, 37%)
HSVhsv(254, 75%, 59%)
CMYKcmyk(57%, 74.8%, 0%, 40.8%)
CIE-LABlab(25.99, 42.22, -57.37)
CIE-LCHlch(25.99, 71.23, 306.35°)
OKLaboklab(38.07% 0.047 -0.1651)
OKLCHoklch(38.07% 0.172 285.9)
XYZxyz(8.4573, 4.7439, 29.7422)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412697 #7C9726
analogous
#264497 #412697 #792697
triadic
#412697 #974126 #269741
tetradic
#412697 #972644 #7C9726 #269779
square
#412697 #972644 #7C9726 #269779
split-complementary
#412697 #977926 #449726
monochromatic
#170D35 #2C1A66 #412697 #5632C8 #7D60D7

Accessibility & contrast

On white

10.78
#412697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#412697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412697
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412697#FFFFFF#000000##FFFFFF
##4126971.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#19455C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412697;
/* rgb */ color: rgb(65, 38, 151);
/* oklch */ color: oklch(38.1% 0.172 285.9);
Tailwind
colors: {
  custom: {
    50: '#8063b7',
    500: '#412697',
    950: '#000000',
  },
}
SCSS
$custom: #412697;
$custom-light: #8063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#412697",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 254.336,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.17168,
    "h": 285.9
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#412697
secondary
#A5BC5C
accent
#E345BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412697

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

Preview Lab → · Contrast checker → · Palette generator →

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