#3417B4#3417B4

#3417B4 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.5% C 0.220 H 276.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3417B4
RGBrgb(52, 23, 180)
HSLhsl(251, 77%, 40%)
HSVhsv(251, 87%, 71%)
CMYKcmyk(71.1%, 87.2%, 0%, 29.4%)
CIE-LABlab(25.68, 56.08, -75.49)
CIE-LCHlch(25.68, 94.04, 306.61°)
OKLaboklab(38.49% 0.0262 -0.218)
OKLCHoklch(38.49% 0.22 276.9)
XYZxyz(9.9581, 4.6372, 43.5414)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3417B4 #97B417
analogous
#1748B4 #3417B4 #8317B4
triadic
#3417B4 #B43417 #17B434
tetradic
#3417B4 #B41748 #97B417 #17B483
square
#3417B4 #B41748 #97B417 #17B483
split-complementary
#3417B4 #B48317 #48B417
monochromatic
#150947 #24107E #3417B4 #4825E3 #765BEA

Accessibility & contrast

On white

10.89
#3417B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3417B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3417B4
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3417B4#FFFFFF#000000##FFFFFF
##3417B41.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3417b4;
/* rgb */ color: rgb(52, 23, 180);
/* oklch */ color: oklch(38.5% 0.220 276.9);
Tailwind
colors: {
  custom: {
    50: '#805dcc',
    500: '#3417b4',
    950: '#000000',
  },
}
SCSS
$custom: #3417b4;
$custom-light: #805dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3417b4",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 251.083,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.21962,
    "h": 276.9
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#3417B4
secondary
#B8CE59
accent
#F434D0
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3417B4

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

Preview Lab → · Contrast checker → · Palette generator →

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