#3417B3#3417B3

#3417B3 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.4% C 0.219 H 277.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3417B3
RGBrgb(52, 23, 179)
HSLhsl(251, 77%, 40%)
HSVhsv(251, 87%, 70%)
CMYKcmyk(70.9%, 87.2%, 0%, 29.8%)
CIE-LABlab(25.55, 55.80, -75.10)
CIE-LCHlch(25.55, 93.56, 306.61°)
OKLaboklab(38.37% 0.0266 -0.2169)
OKLCHoklch(38.37% 0.219 277)
XYZxyz(9.8566, 4.5966, 43.0069)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3417B3 #96B317
analogous
#1748B3 #3417B3 #8217B3
triadic
#3417B3 #B33417 #17B334
tetradic
#3417B3 #B31748 #96B317 #17B382
square
#3417B3 #B31748 #96B317 #17B382
split-complementary
#3417B3 #B38217 #48B317
monochromatic
#140947 #24107D #3417B3 #4824E3 #755BEA

Accessibility & contrast

On white

10.94
#3417B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3417B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3417B3
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3417B3#FFFFFF#000000##FFFFFF
##3417B31.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3417b3;
/* rgb */ color: rgb(52, 23, 179);
/* oklch */ color: oklch(38.4% 0.219 277.0);
Tailwind
colors: {
  custom: {
    50: '#805dcb',
    500: '#3417b3',
    950: '#000000',
  },
}
SCSS
$custom: #3417b3;
$custom-light: #805dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3417b3",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 251.154,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.21853,
    "h": 277
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3417B3

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

Preview Lab → · Contrast checker → · Palette generator →

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