#3E105F#3E105F

#3E105F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.131 H 306.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#3E105F
RGBrgb(62, 16, 95)
HSLhsl(275, 71%, 22%)
HSVhsv(275, 83%, 37%)
CMYKcmyk(34.7%, 83.2%, 0%, 62.7%)
CIE-LABlab(16.61, 36.74, -37.01)
CIE-LCHlch(16.61, 52.15, 314.79°)
OKLaboklab(29.78% 0.077 -0.1053)
OKLCHoklch(29.78% 0.131 306.2)
XYZxyz(4.2370, 2.2210, 11.0297)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E105F #315F10
analogous
#17105F #3E105F #5F1059
triadic
#3E105F #5F3E10 #105F3E
tetradic
#3E105F #5F1710 #315F10 #10595F
square
#3E105F #5F1710 #315F10 #10595F
split-complementary
#3E105F #595F10 #105F17
monochromatic
#11041A #1C072B #3E105F #601993 #8222C8

Accessibility & contrast

On white

14.54
#3E105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E105F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E105F#FFFFFF#000000##FFFFFF
##3E105F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#382437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e105f;
/* rgb */ color: rgb(62, 16, 95);
/* oklch */ color: oklch(29.8% 0.131 306.2);
Tailwind
colors: {
  custom: {
    50: '#77548d',
    500: '#3e105f',
    950: '#000000',
  },
}
SCSS
$custom: #3e105f;
$custom-light: #77548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e105f",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 274.937,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29775,
    "c": 0.1305,
    "h": 306.2
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#3E105F
secondary
#5D9833
accent
#EE3A85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E105F

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

Preview Lab → · Contrast checker → · Palette generator →

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