#413256#413256

#413256 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.0% C 0.064 H 302.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#413256
RGBrgb(65, 50, 86)
HSLhsl(265, 26%, 27%)
HSVhsv(265, 42%, 34%)
CMYKcmyk(24.4%, 41.9%, 0%, 66.3%)
CIE-LABlab(23.92, 15.26, -19.33)
CIE-LCHlch(23.92, 24.62, 308.29°)
OKLaboklab(35.03% 0.0341 -0.0537)
OKLCHoklch(35.03% 0.064 302.4)
XYZxyz(4.9999, 4.0769, 9.3258)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413256 #475632
analogous
#323556 #413256 #533256
triadic
#413256 #564132 #325641
tetradic
#413256 #563235 #475632 #325653
square
#413256 #563235 #475632 #325653
split-complementary
#413256 #565332 #355632
monochromatic
#0F0B13 #241C2F #413256 #5E497D #7C60A3

Accessibility & contrast

On white

11.57
#413256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#413256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413256
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413256#FFFFFF#000000##FFFFFF
##4132561.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293957
Deuteranopia (green-blind)
#2C3955
Tritanopia (blue-blind)
#3D3840
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #413256;
/* rgb */ color: rgb(65, 50, 86);
/* oklch */ color: oklch(35.0% 0.064 302.4);
Tailwind
colors: {
  custom: {
    50: '#766a86',
    500: '#413256',
    950: '#000000',
  },
}
SCSS
$custom: #413256;
$custom-light: #766a86;
$custom-dark: #000000;
JSON
{
  "hex": "#413256",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 265,
    "s": 26.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.06361,
    "h": 302.4
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#413256
secondary
#75875D
accent
#C3659C
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #413256

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

Preview Lab → · Contrast checker → · Palette generator →

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