#413154#413154

#413154 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 34.7% C 0.063 H 304.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#413154
RGBrgb(65, 49, 84)
HSLhsl(267, 26%, 26%)
HSVhsv(267, 42%, 33%)
CMYKcmyk(22.6%, 41.7%, 0%, 67.1%)
CIE-LABlab(23.54, 15.38, -18.60)
CIE-LCHlch(23.54, 24.14, 309.58°)
OKLaboklab(34.7% 0.0353 -0.0516)
OKLCHoklch(34.7% 0.063 304.4)
XYZxyz(4.8782, 3.9606, 8.8933)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413154 #445431
analogous
#313254 #413154 #523154
triadic
#413154 #544131 #315441
tetradic
#413154 #543132 #445431 #315452
square
#413154 #543132 #445431 #315452
split-complementary
#413154 #545231 #325431
monochromatic
#0F0B13 #231A2D #413154 #5F487B #7D5EA1

Accessibility & contrast

On white

11.72
#413154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#413154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413154
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413154#FFFFFF#000000##FFFFFF
##4131541.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293855
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#3E363E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #413154;
/* rgb */ color: rgb(65, 49, 84);
/* oklch */ color: oklch(34.7% 0.063 304.4);
Tailwind
colors: {
  custom: {
    50: '#766984',
    500: '#413154',
    950: '#000000',
  },
}
SCSS
$custom: #413154;
$custom-light: #766984;
$custom-dark: #000000;
JSON
{
  "hex": "#413154",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 267.429,
    "s": 26.316,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34701,
    "c": 0.06252,
    "h": 304.4
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#413154
secondary
#72855C
accent
#C36598
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #413154

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

Preview Lab → · Contrast checker → · Palette generator →

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