#3E105A#3E105A

#3E105A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.125 H 308.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3E105A
RGBrgb(62, 16, 90)
HSLhsl(277, 70%, 21%)
HSVhsv(277, 82%, 35%)
CMYKcmyk(31.1%, 82.2%, 0%, 64.7%)
CIE-LABlab(16.17, 35.50, -34.38)
CIE-LCHlch(16.17, 49.42, 315.92°)
OKLaboklab(29.33% 0.0783 -0.0976)
OKLCHoklch(29.33% 0.125 308.7)
XYZxyz(4.0170, 2.1330, 9.8710)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E105A #2C5A10
analogous
#19105A #3E105A #5A1051
triadic
#3E105A #5A3E10 #105A3E
tetradic
#3E105A #5A1910 #2C5A10 #10515A
square
#3E105A #5A1910 #2C5A10 #10515A
split-complementary
#3E105A #515A10 #105A19
monochromatic
#12051A #1A0726 #3E105A #62198E #8622C2

Accessibility & contrast

On white

14.72
#3E105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E105A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E105A#FFFFFF#000000##FFFFFF
##3E105A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#3A2234
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e105a;
/* rgb */ color: rgb(62, 16, 90);
/* oklch */ color: oklch(29.3% 0.125 308.7);
Tailwind
colors: {
  custom: {
    50: '#775489',
    500: '#3e105a',
    950: '#000000',
  },
}
SCSS
$custom: #3e105a;
$custom-light: #775489;
$custom-dark: #000000;
JSON
{
  "hex": "#3e105a",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 277.297,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29332,
    "c": 0.12513,
    "h": 308.7
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#3E105A
secondary
#579333
accent
#ED3B7E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E105A

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

Preview Lab → · Contrast checker → · Palette generator →

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