#413276#413276

#413276 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.112 H 290.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#413276
RGBrgb(65, 50, 118)
HSLhsl(253, 40%, 33%)
HSVhsv(253, 58%, 46%)
CMYKcmyk(44.9%, 57.6%, 0%, 53.7%)
CIE-LABlab(25.90, 24.80, -36.91)
CIE-LCHlch(25.90, 44.47, 303.90°)
OKLaboklab(37.15% 0.0383 -0.105)
OKLCHoklch(37.15% 0.112 290)
XYZxyz(6.5897, 4.7128, 17.6985)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413276 #677632
analogous
#324576 #413276 #633276
triadic
#413276 #764132 #327641
tetradic
#413276 #763245 #677632 #327663
square
#413276 #763245 #677632 #327663
split-complementary
#413276 #766332 #457632
monochromatic
#120E20 #29204B #413276 #5944A1 #7865BE

Accessibility & contrast

On white

10.81
#413276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#413276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413276
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413276#FFFFFF#000000##FFFFFF
##4132761.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3F78
Deuteranopia (green-blind)
#113C75
Tritanopia (blue-blind)
#32414F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413276;
/* rgb */ color: rgb(65, 50, 118);
/* oklch */ color: oklch(37.1% 0.112 290.0);
Tailwind
colors: {
  custom: {
    50: '#796a9e',
    500: '#413276',
    950: '#000000',
  },
}
SCSS
$custom: #413276;
$custom-light: #796a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#413276",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 253.235,
    "s": 40.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.11179,
    "h": 290
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#413276
secondary
#96A55E
accent
#D057B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413276

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

Preview Lab → · Contrast checker → · Palette generator →

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