#3E105B#3E105B

#3E105B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.126 H 308.2°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3E105B
RGBrgb(62, 16, 91)
HSLhsl(277, 70%, 21%)
HSVhsv(277, 82%, 36%)
CMYKcmyk(31.9%, 82.4%, 0%, 64.3%)
CIE-LABlab(16.26, 35.75, -34.91)
CIE-LCHlch(16.26, 49.97, 315.68°)
OKLaboklab(29.42% 0.0781 -0.0992)
OKLCHoklch(29.42% 0.126 308.2)
XYZxyz(4.0598, 2.1501, 10.0966)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E105B #2D5B10
analogous
#18105B #3E105B #5B1052
triadic
#3E105B #5B3E10 #105B3E
tetradic
#3E105B #5B1810 #2D5B10 #10525B
square
#3E105B #5B1810 #2D5B10 #10525B
split-complementary
#3E105B #525B10 #105B18
monochromatic
#12051A #1B0727 #3E105B #61198F #8522C3

Accessibility & contrast

On white

14.69
#3E105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E105B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E105B#FFFFFF#000000##FFFFFF
##3E105B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#392335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e105b;
/* rgb */ color: rgb(62, 16, 91);
/* oklch */ color: oklch(29.4% 0.126 308.2);
Tailwind
colors: {
  custom: {
    50: '#77548a',
    500: '#3e105b',
    950: '#000000',
  },
}
SCSS
$custom: #3e105b;
$custom-light: #77548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e105b",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 276.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29419,
    "c": 0.1262,
    "h": 308.2
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#3E105B
secondary
#589433
accent
#ED3B80
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E105B

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

Preview Lab → · Contrast checker → · Palette generator →

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