#413254#413254

#413254 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 34.9% C 0.061 H 303.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#413254
RGBrgb(65, 50, 84)
HSLhsl(266, 25%, 26%)
HSVhsv(266, 40%, 33%)
CMYKcmyk(22.6%, 40.5%, 0%, 67.1%)
CIE-LABlab(23.82, 14.71, -18.17)
CIE-LCHlch(23.82, 23.38, 309.00°)
OKLaboklab(34.91% 0.0336 -0.0503)
OKLCHoklch(34.91% 0.061 303.7)
XYZxyz(4.9205, 4.0451, 8.9074)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413254 #455432
analogous
#323454 #413254 #523254
triadic
#413254 #544132 #325441
tetradic
#413254 #543234 #455432 #325452
square
#413254 #543234 #455432 #325452
split-complementary
#413254 #545232 #345432
monochromatic
#0F0B13 #231B2E #413254 #5F497A #7C60A0

Accessibility & contrast

On white

11.61
#413254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413254
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413254#FFFFFF#000000##FFFFFF
##4132541.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3855
Deuteranopia (green-blind)
#2D3953
Tritanopia (blue-blind)
#3E373F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #413254;
/* rgb */ color: rgb(65, 50, 84);
/* oklch */ color: oklch(34.9% 0.061 303.7);
Tailwind
colors: {
  custom: {
    50: '#766a84',
    500: '#413254',
    950: '#000000',
  },
}
SCSS
$custom: #413254;
$custom-light: #766a84;
$custom-dark: #000000;
JSON
{
  "hex": "#413254",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 266.471,
    "s": 25.373,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34913,
    "c": 0.06053,
    "h": 303.7
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#413254
secondary
#73855D
accent
#C26699
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #413254

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

Preview Lab → · Contrast checker → · Palette generator →

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