#413962#413962

#413962 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.2% C 0.069 H 291.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#413962
RGBrgb(65, 57, 98)
HSLhsl(252, 26%, 30%)
HSVhsv(252, 42%, 38%)
CMYKcmyk(33.7%, 41.8%, 0%, 61.6%)
CIE-LABlab(26.54, 14.02, -23.07)
CIE-LCHlch(26.54, 26.99, 301.29°)
OKLaboklab(37.22% 0.0256 -0.0645)
OKLCHoklch(37.22% 0.069 291.6)
XYZxyz(5.8471, 4.9318, 12.1968)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413962 #5A6239
analogous
#394562 #413962 #553962
triadic
#413962 #624139 #396241
tetradic
#413962 #623945 #5A6239 #396255
square
#413962 #623945 #5A6239 #396255
split-complementary
#413962 #625539 #456239
monochromatic
#0E0C15 #27223B #413962 #5B5089 #786CA9

Accessibility & contrast

On white

10.57
#413962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#413962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413962
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413962#FFFFFF#000000##FFFFFF
##4139621.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F64
Deuteranopia (green-blind)
#2E3E61
Tritanopia (blue-blind)
#394048
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413962;
/* rgb */ color: rgb(65, 57, 98);
/* oklch */ color: oklch(37.2% 0.069 291.6);
Tailwind
colors: {
  custom: {
    50: '#776f8f',
    500: '#413962',
    950: '#000000',
  },
}
SCSS
$custom: #413962;
$custom-light: #776f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#413962",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 98
  },
  "hsl": {
    "h": 251.707,
    "s": 26.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.06942,
    "h": 291.6
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#413962
secondary
#899265
accent
#C365B1
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#09070C
muted
#7B7A7D

Preview Lab

Preview with #413962

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

Preview Lab → · Contrast checker → · Palette generator →

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