#413270#413270

#413270 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.7% C 0.103 H 291.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#413270
RGBrgb(65, 50, 112)
HSLhsl(255, 38%, 32%)
HSVhsv(255, 55%, 44%)
CMYKcmyk(42%, 55.4%, 0%, 56.1%)
CIE-LABlab(25.49, 22.93, -33.75)
CIE-LCHlch(25.49, 40.80, 304.20°)
OKLaboklab(36.71% 0.038 -0.0957)
OKLCHoklch(36.71% 0.103 291.7)
XYZxyz(6.2444, 4.5747, 15.8801)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413270 #617032
analogous
#324270 #413270 #603270
triadic
#413270 #704132 #327041
tetradic
#413270 #703242 #617032 #327060
square
#413270 #703242 #617032 #327060
split-complementary
#413270 #706032 #427032
monochromatic
#100C1B #281F46 #413270 #5A459A #7863B9

Accessibility & contrast

On white

10.97
#413270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#413270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413270
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413270#FFFFFF#000000##FFFFFF
##4132701.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D72
Deuteranopia (green-blind)
#193B6F
Tritanopia (blue-blind)
#343F4C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #413270;
/* rgb */ color: rgb(65, 50, 112);
/* oklch */ color: oklch(36.7% 0.103 291.7);
Tailwind
colors: {
  custom: {
    50: '#796a99',
    500: '#413270',
    950: '#000000',
  },
}
SCSS
$custom: #413270;
$custom-light: #796a99;
$custom-dark: #000000;
JSON
{
  "hex": "#413270",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 254.516,
    "s": 38.272,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36707,
    "c": 0.10301,
    "h": 291.7
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#413270
secondary
#90A15D
accent
#CE5AB2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413270

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

Preview Lab → · Contrast checker → · Palette generator →

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