#3413B4#3413B4

#3413B4 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 38.2% C 0.222 H 277.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3413B4
RGBrgb(52, 19, 180)
HSLhsl(252, 81%, 39%)
HSVhsv(252, 89%, 71%)
CMYKcmyk(71.1%, 89.4%, 0%, 29.4%)
CIE-LABlab(25.23, 57.42, -76.23)
CIE-LCHlch(25.23, 95.44, 306.99°)
OKLaboklab(38.19% 0.0273 -0.2201)
OKLCHoklch(38.19% 0.222 277.1)
XYZxyz(9.8846, 4.4902, 43.5169)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3413B4 #93B413
analogous
#1343B4 #3413B4 #8513B4
triadic
#3413B4 #B43413 #13B434
tetradic
#3413B4 #B41343 #93B413 #13B485
square
#3413B4 #B41343 #93B413 #13B485
split-complementary
#3413B4 #B48513 #43B413
monochromatic
#140745 #240D7D #3413B4 #461DE7 #7454ED

Accessibility & contrast

On white

11.06
#3413B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3413B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3413B4#FFFFFF#000000##FFFFFF
##3413B41.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)
#0042B8
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3413b4;
/* rgb */ color: rgb(52, 19, 180);
/* oklch */ color: oklch(38.2% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#815bcc',
    500: '#3413b4',
    950: '#000000',
  },
}
SCSS
$custom: #3413b4;
$custom-light: #815bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3413b4",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 252.298,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.2218,
    "h": 277.1
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#3413B4
secondary
#B6CF53
accent
#F730CF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #3413B4

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

Preview Lab → · Contrast checker → · Palette generator →

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