#413165#413165

#413165 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.8% C 0.088 H 295.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#413165
RGBrgb(65, 49, 101)
HSLhsl(258, 35%, 29%)
HSVhsv(258, 51%, 40%)
CMYKcmyk(35.6%, 51.5%, 0%, 60.4%)
CIE-LABlab(24.51, 20.24, -28.21)
CIE-LCHlch(24.51, 34.73, 305.66°)
OKLaboklab(35.75% 0.0385 -0.0795)
OKLCHoklch(35.75% 0.088 295.8)
XYZxyz(5.6267, 4.2599, 12.8352)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413165 #556531
analogous
#313B65 #413165 #5B3165
triadic
#413165 #654131 #316541
tetradic
#413165 #65313B #556531 #31655B
square
#413165 #65313B #556531 #31655B
split-complementary
#413165 #655B31 #3B6531
monochromatic
#0D0A15 #261D3C #413165 #5C458E #785FB1

Accessibility & contrast

On white

11.34
#413165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#413165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413165
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413165#FFFFFF#000000##FFFFFF
##4131651.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B67
Deuteranopia (green-blind)
#223A64
Tritanopia (blue-blind)
#393B46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413165;
/* rgb */ color: rgb(65, 49, 101);
/* oklch */ color: oklch(35.8% 0.088 295.8);
Tailwind
colors: {
  custom: {
    50: '#786991',
    500: '#413165',
    950: '#000000',
  },
}
SCSS
$custom: #413165;
$custom-light: #786991;
$custom-dark: #000000;
JSON
{
  "hex": "#413165",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 258.462,
    "s": 34.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3575,
    "c": 0.08834,
    "h": 295.8
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#413165
secondary
#84965C
accent
#CB5DA9
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060D
muted
#7B7A7D

Preview Lab

Preview with #413165

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

Preview Lab → · Contrast checker → · Palette generator →

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