#413155#413155

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

Color values

HEX#413155
RGBrgb(65, 49, 85)
HSLhsl(267, 27%, 26%)
HSVhsv(267, 42%, 33%)
CMYKcmyk(23.5%, 42.4%, 0%, 66.7%)
CIE-LABlab(23.59, 15.65, -19.18)
CIE-LCHlch(23.59, 24.76, 309.22°)
OKLaboklab(34.76% 0.0355 -0.0533)
OKLCHoklch(34.76% 0.064 303.7)
XYZxyz(4.9176, 3.9763, 9.1010)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413155 #455531
analogous
#313355 #413155 #533155
triadic
#413155 #554131 #315541
tetradic
#413155 #553133 #455531 #315553
square
#413155 #553133 #455531 #315553
split-complementary
#413155 #555331 #335531
monochromatic
#0F0B13 #231B2E #413155 #5F477C #7C5EA2

Accessibility & contrast

On white

11.70
#413155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#413155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413155
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413155#FFFFFF#000000##FFFFFF
##4131551.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#3E373F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #413155;
/* rgb */ color: rgb(65, 49, 85);
/* oklch */ color: oklch(34.8% 0.064 303.7);
Tailwind
colors: {
  custom: {
    50: '#766985',
    500: '#413155',
    950: '#000000',
  },
}
SCSS
$custom: #413155;
$custom-light: #766985;
$custom-dark: #000000;
JSON
{
  "hex": "#413155",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 266.667,
    "s": 26.866,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.06405,
    "h": 303.7
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#413155
secondary
#73865C
accent
#C36599
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #413155

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

Preview Lab → · Contrast checker → · Palette generator →

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