#411262#411262

#411262 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.132 H 306.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#411262
RGBrgb(65, 18, 98)
HSLhsl(275, 69%, 23%)
HSVhsv(275, 82%, 38%)
CMYKcmyk(33.7%, 81.6%, 0%, 61.6%)
CIE-LABlab(17.64, 37.23, -37.31)
CIE-LCHlch(17.64, 52.71, 314.94°)
OKLaboklab(30.68% 0.079 -0.1061)
OKLCHoklch(30.68% 0.132 306.7)
XYZxyz(4.6004, 2.4383, 11.7812)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411262 #336212
analogous
#191262 #411262 #62125B
triadic
#411262 #624112 #126241
tetradic
#411262 #621912 #336212 #125B62
square
#411262 #621912 #336212 #125B62
split-complementary
#411262 #5B6212 #126219
monochromatic
#11051A #1F092E #411262 #631B96 #8625C9

Accessibility & contrast

On white

14.12
#411262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#411262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411262
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411262#FFFFFF#000000##FFFFFF
##4112621.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#3B2639
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #411262;
/* rgb */ color: rgb(65, 18, 98);
/* oklch */ color: oklch(30.7% 0.132 306.7);
Tailwind
colors: {
  custom: {
    50: '#7a568f',
    500: '#411262',
    950: '#000000',
  },
}
SCSS
$custom: #411262;
$custom-light: #7a568f;
$custom-dark: #000000;
JSON
{
  "hex": "#411262",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 275.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.13229,
    "h": 306.7
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#411262
secondary
#5F9A36
accent
#EC3C85
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #411262

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

Preview Lab → · Contrast checker → · Palette generator →

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