#3E107E#3E107E

#3E107E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.164 H 293.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3E107E
RGBrgb(62, 16, 126)
HSLhsl(265, 77%, 28%)
HSVhsv(265, 87%, 49%)
CMYKcmyk(50.8%, 87.3%, 0%, 50.6%)
CIE-LABlab(19.64, 44.75, -52.20)
CIE-LCHlch(19.64, 68.76, 310.61°)
OKLaboklab(32.81% 0.0662 -0.1499)
OKLCHoklch(32.81% 0.164 293.8)
XYZxyz(5.9367, 2.9009, 19.9817)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E107E #507E10
analogous
#10197E #3E107E #75107E
triadic
#3E107E #7E3E10 #107E3E
tetradic
#3E107E #7E1019 #507E10 #107E75
square
#3E107E #7E1019 #507E10 #107E75
split-complementary
#3E107E #7E7510 #197E10
monochromatic
#0D031B #230948 #3E107E #5917B4 #7525E3

Accessibility & contrast

On white

13.29
#3E107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3E107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E107E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E107E#FFFFFF#000000##FFFFFF
##3E107E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#2A3249
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e107e;
/* rgb */ color: rgb(62, 16, 126);
/* oklch */ color: oklch(32.8% 0.164 293.8);
Tailwind
colors: {
  custom: {
    50: '#7b56a4',
    500: '#3e107e',
    950: '#000000',
  },
}
SCSS
$custom: #3e107e;
$custom-light: #7b56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e107e",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 265.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.16387,
    "h": 293.8
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#3E107E
secondary
#7FB436
accent
#F434A4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3E107E

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

Preview Lab → · Contrast checker → · Palette generator →

#3E107E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva