#413281#413281

#413281 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.0% C 0.127 H 287.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#413281
RGBrgb(65, 50, 129)
HSLhsl(251, 44%, 35%)
HSVhsv(251, 61%, 51%)
CMYKcmyk(49.6%, 61.2%, 0%, 49.4%)
CIE-LABlab(26.71, 28.28, -42.55)
CIE-LCHlch(26.71, 51.09, 303.61°)
OKLaboklab(38% 0.0382 -0.1216)
OKLCHoklch(38% 0.127 287.5)
XYZxyz(7.2819, 4.9897, 21.3440)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413281 #728132
analogous
#324B81 #413281 #683281
triadic
#413281 #814132 #328141
tetradic
#413281 #81324B #728132 #328168
square
#413281 #81324B #728132 #328168
split-complementary
#413281 #816832 #4B8132
monochromatic
#151029 #2B2155 #413281 #5743AD #7A69C5

Accessibility & contrast

On white

10.51
#413281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#413281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413281
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413281#FFFFFF#000000##FFFFFF
##4132811.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#2C4454
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413281;
/* rgb */ color: rgb(65, 50, 129);
/* oklch */ color: oklch(38.0% 0.127 287.5);
Tailwind
colors: {
  custom: {
    50: '#7b6aa6',
    500: '#413281',
    950: '#000000',
  },
}
SCSS
$custom: #413281;
$custom-light: #7b6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#413281",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 251.392,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.12749,
    "h": 287.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#413281
secondary
#9EAC62
accent
#D454BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413281

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

Preview Lab → · Contrast checker → · Palette generator →

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