#412165#412165

#412165 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.115 H 302.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#412165
RGBrgb(65, 33, 101)
HSLhsl(268, 51%, 26%)
HSVhsv(268, 67%, 40%)
CMYKcmyk(35.6%, 67.3%, 0%, 60.4%)
CIE-LABlab(20.64, 30.32, -34.42)
CIE-LCHlch(20.64, 45.87, 311.37°)
OKLaboklab(32.9% 0.0612 -0.0977)
OKLCHoklch(32.9% 0.115 302.1)
XYZxyz(5.0722, 3.1511, 12.6504)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412165 #456521
analogous
#212365 #412165 #632165
triadic
#412165 #654121 #216541
tetradic
#412165 #652123 #456521 #216563
square
#412165 #652123 #456521 #216563
split-complementary
#412165 #656321 #236521
monochromatic
#0F0817 #231237 #412165 #5F3093 #7C40C1

Accessibility & contrast

On white

12.88
#412165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412165
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412165#FFFFFF#000000##FFFFFF
##4121651.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#093164
Tritanopia (blue-blind)
#3A303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412165;
/* rgb */ color: rgb(65, 33, 101);
/* oklch */ color: oklch(32.9% 0.115 302.1);
Tailwind
colors: {
  custom: {
    50: '#795e91',
    500: '#412165',
    950: '#000000',
  },
}
SCSS
$custom: #412165;
$custom-light: #795e91;
$custom-dark: #000000;
JSON
{
  "hex": "#412165",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 268.235,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32897,
    "c": 0.1153,
    "h": 302.1
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#412165
secondary
#739949
accent
#DA4E98
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #412165

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

Preview Lab → · Contrast checker → · Palette generator →

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