#412097#412097

#412097 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.178 H 286.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#412097
RGBrgb(65, 32, 151)
HSLhsl(257, 65%, 36%)
HSVhsv(257, 79%, 59%)
CMYKcmyk(57%, 78.8%, 0%, 40.8%)
CIE-LABlab(24.92, 45.26, -59.13)
CIE-LCHlch(24.92, 74.46, 307.44°)
OKLaboklab(37.32% 0.0516 -0.1702)
OKLCHoklch(37.32% 0.178 286.9)
XYZxyz(8.2807, 4.3907, 29.6833)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412097 #769720
analogous
#203A97 #412097 #7C2097
triadic
#412097 #974120 #209741
tetradic
#412097 #97203A #769720 #20977C
square
#412097 #97203A #769720 #20977C
split-complementary
#412097 #977C20 #3A9720
monochromatic
#160B32 #2B1564 #412097 #572BC9 #7B56DB

Accessibility & contrast

On white

11.18
#412097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412097
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412097#FFFFFF#000000##FFFFFF
##4120971.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#19425B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412097;
/* rgb */ color: rgb(65, 32, 151);
/* oklch */ color: oklch(37.3% 0.178 286.9);
Tailwind
colors: {
  custom: {
    50: '#8060b7',
    500: '#412097',
    950: '#000000',
  },
}
SCSS
$custom: #412097;
$custom-light: #8060b7;
$custom-dark: #000000;
JSON
{
  "hex": "#412097",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 256.639,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.17785,
    "h": 286.9
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#412097
secondary
#A1BF54
accent
#E840B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412097

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

Preview Lab → · Contrast checker → · Palette generator →

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