#411258#411258

#411258 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 29.8% C 0.122 H 311.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#411258
RGBrgb(65, 18, 88)
HSLhsl(280, 66%, 21%)
HSVhsv(280, 80%, 35%)
CMYKcmyk(26.1%, 79.5%, 0%, 65.5%)
CIE-LABlab(16.80, 34.78, -31.99)
CIE-LCHlch(16.80, 47.26, 317.40°)
OKLaboklab(29.83% 0.0812 -0.0905)
OKLCHoklch(29.83% 0.122 311.9)
XYZxyz(4.1574, 2.2611, 9.4481)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411258 #295812
analogous
#1E1258 #411258 #58124C
triadic
#411258 #584112 #125841
tetradic
#411258 #581E12 #295812 #124C58
square
#411258 #581E12 #295812 #124C58
split-complementary
#411258 #4C5812 #12581E
monochromatic
#130519 #1B0825 #411258 #671C8B #8C27BE

Accessibility & contrast

On white

14.46
#411258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#411258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411258
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411258#FFFFFF#000000##FFFFFF
##4112581.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#082A57
Tritanopia (blue-blind)
#3E2234
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #411258;
/* rgb */ color: rgb(65, 18, 88);
/* oklch */ color: oklch(29.8% 0.122 311.9);
Tailwind
colors: {
  custom: {
    50: '#795588',
    500: '#411258',
    950: '#000000',
  },
}
SCSS
$custom: #411258;
$custom-light: #795588;
$custom-dark: #000000;
JSON
{
  "hex": "#411258",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 280.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29827,
    "c": 0.12154,
    "h": 311.9
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#411258
secondary
#539135
accent
#E93F77
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #411258

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

Preview Lab → · Contrast checker → · Palette generator →

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