#413255#413255

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

Color values

HEX#413255
RGBrgb(65, 50, 85)
HSLhsl(266, 26%, 26%)
HSVhsv(266, 41%, 33%)
CMYKcmyk(23.5%, 41.2%, 0%, 66.7%)
CIE-LABlab(23.87, 14.98, -18.75)
CIE-LCHlch(23.87, 24.00, 308.63°)
OKLaboklab(34.97% 0.0339 -0.052)
OKLCHoklch(34.97% 0.062 303.1)
XYZxyz(4.9599, 4.0609, 9.1151)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413255 #465532
analogous
#323555 #413255 #533255
triadic
#413255 #554132 #325541
tetradic
#413255 #553235 #465532 #325553
square
#413255 #553235 #465532 #325553
split-complementary
#413255 #555332 #355532
monochromatic
#0F0B13 #241B2E #413255 #5E497C #7C60A1

Accessibility & contrast

On white

11.59
#413255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#413255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413255
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413255#FFFFFF#000000##FFFFFF
##4132551.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#3E383F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #413255;
/* rgb */ color: rgb(65, 50, 85);
/* oklch */ color: oklch(35.0% 0.062 303.1);
Tailwind
colors: {
  custom: {
    50: '#766a85',
    500: '#413255',
    950: '#000000',
  },
}
SCSS
$custom: #413255;
$custom-light: #766a85;
$custom-dark: #000000;
JSON
{
  "hex": "#413255",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 265.714,
    "s": 25.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.06208,
    "h": 303.1
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#413255
secondary
#74865D
accent
#C2659B
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #413255

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

Preview Lab → · Contrast checker → · Palette generator →

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