#3910E2#3910E2

#3910E2 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.9% C 0.270 H 274.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3910E2
RGBrgb(57, 16, 226)
HSLhsl(252, 87%, 47%)
HSVhsv(252, 93%, 89%)
CMYKcmyk(74.8%, 92.9%, 0%, 11.4%)
CIE-LABlab(31.18, 70.35, -93.22)
CIE-LCHlch(31.18, 116.79, 307.04°)
OKLaboklab(43.93% 0.0191 -0.2692)
OKLCHoklch(43.93% 0.27 274.1)
XYZxyz(15.5956, 6.7298, 72.4138)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3910E2 #B9E210
analogous
#1050E2 #3910E2 #A210E2
triadic
#3910E2 #E23910 #10E239
tetradic
#3910E2 #E21050 #B9E210 #10E2A2
square
#3910E2 #E21050 #B9E210 #10E2A2
split-complementary
#3910E2 #E2A210 #50E210
monochromatic
#1C0870 #2B0CA9 #3910E2 #613EF1 #9077F5

Accessibility & contrast

On white

8.95
#3910E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3910E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3910E2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3910E2#FFFFFF#000000##FFFFFF
##3910E21.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052E7
Deuteranopia (green-blind)
#0040DF
Tritanopia (blue-blind)
#005F85
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3910e2;
/* rgb */ color: rgb(57, 16, 226);
/* oklch */ color: oklch(43.9% 0.270 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d5fed',
    500: '#3910e2',
    950: '#000000',
  },
}
SCSS
$custom: #3910e2;
$custom-light: #8d5fed;
$custom-dark: #000000;
JSON
{
  "hex": "#3910e2",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 226
  },
  "hsl": {
    "h": 251.714,
    "s": 86.777,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.26986,
    "h": 274.1
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#3910E2
secondary
#C8DC71
accent
#FD2BD4
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0F0517
muted
#7E7A85

Preview Lab

Preview with #3910E2

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

Preview Lab → · Contrast checker → · Palette generator →

#3910E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva