#3417A1#3417A1

#3417A1 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.199 H 279.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#3417A1
RGBrgb(52, 23, 161)
HSLhsl(253, 75%, 36%)
HSVhsv(253, 86%, 63%)
CMYKcmyk(67.7%, 85.7%, 0%, 36.9%)
CIE-LABlab(23.39, 50.73, -67.82)
CIE-LCHlch(23.39, 84.70, 306.80°)
OKLaboklab(36.27% 0.0328 -0.1958)
OKLCHoklch(36.27% 0.199 279.5)
XYZxyz(8.1535, 3.9154, 34.0374)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3417A1 #84A117
analogous
#173FA1 #3417A1 #7917A1
triadic
#3417A1 #A13417 #17A134
tetradic
#3417A1 #A1173F #84A117 #17A179
square
#3417A1 #A1173F #84A117 #17A179
split-complementary
#3417A1 #A17917 #3FA117
monochromatic
#110836 #230F6B #3417A1 #451FD7 #6D4DE6

Accessibility & contrast

On white

11.78
#3417A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3417A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3417A1
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3417A1#FFFFFF#000000##FFFFFF
##3417A11.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3417a1;
/* rgb */ color: rgb(52, 23, 161);
/* oklch */ color: oklch(36.3% 0.199 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c5bbe',
    500: '#3417a1',
    950: '#000000',
  },
}
SCSS
$custom: #3417a1;
$custom-light: #7c5bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3417a1",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 252.609,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.19853,
    "h": 279.5
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#3417A1
secondary
#AEC74C
accent
#F236CA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3417A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3417A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva