#413170#413170

#413170 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.5% C 0.105 H 292.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#413170
RGBrgb(65, 49, 112)
HSLhsl(255, 39%, 32%)
HSVhsv(255, 56%, 44%)
CMYKcmyk(42%, 56.3%, 0%, 56.1%)
CIE-LABlab(25.23, 23.58, -34.16)
CIE-LCHlch(25.23, 41.51, 304.62°)
OKLaboklab(36.52% 0.0394 -0.0969)
OKLCHoklch(36.52% 0.105 292.1)
XYZxyz(6.2021, 4.4901, 15.8660)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413170 #607031
analogous
#314170 #413170 #613170
triadic
#413170 #704131 #317041
tetradic
#413170 #703141 #607031 #317061
square
#413170 #703141 #607031 #317061
split-complementary
#413170 #706131 #417031
monochromatic
#100C1B #281E45 #413170 #5A449B #7861BA

Accessibility & contrast

On white

11.06
#413170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#413170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413170
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413170#FFFFFF#000000##FFFFFF
##4131701.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#183B6F
Tritanopia (blue-blind)
#353E4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #413170;
/* rgb */ color: rgb(65, 49, 112);
/* oklch */ color: oklch(36.5% 0.105 292.1);
Tailwind
colors: {
  custom: {
    50: '#796999',
    500: '#413170',
    950: '#000000',
  },
}
SCSS
$custom: #413170;
$custom-light: #796999;
$custom-dark: #000000;
JSON
{
  "hex": "#413170",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 255.238,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.10465,
    "h": 292.1
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#413170
secondary
#8FA15C
accent
#CF59B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413170

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

Preview Lab → · Contrast checker → · Palette generator →

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