#3E1073#3E1073

#3E1073 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.152 H 297.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#3E1073
RGBrgb(62, 16, 115)
HSLhsl(268, 76%, 26%)
HSVhsv(268, 86%, 45%)
CMYKcmyk(46.1%, 86.1%, 0%, 54.9%)
CIE-LABlab(18.51, 41.87, -47.02)
CIE-LCHlch(18.51, 62.96, 311.68°)
OKLaboklab(31.68% 0.0705 -0.1347)
OKLCHoklch(31.68% 0.152 297.6)
XYZxyz(5.2656, 2.6324, 16.4470)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1073 #457310
analogous
#101373 #3E1073 #6F1073
triadic
#3E1073 #733E10 #10733E
tetradic
#3E1073 #731013 #457310 #10736F
square
#3E1073 #731013 #457310 #10736F
split-complementary
#3E1073 #736F10 #137310
monochromatic
#0E041B #21093D #3E1073 #5B17A9 #781FDE

Accessibility & contrast

On white

13.76
#3E1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1073
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1073#FFFFFF#000000##FFFFFF
##3E10731.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#302D43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1073;
/* rgb */ color: rgb(62, 16, 115);
/* oklch */ color: oklch(31.7% 0.152 297.6);
Tailwind
colors: {
  custom: {
    50: '#7a569c',
    500: '#3e1073',
    950: '#000000',
  },
}
SCSS
$custom: #3e1073;
$custom-light: #7a569c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1073",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 267.879,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.15205,
    "h": 297.6
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#3E1073
secondary
#74AA34
accent
#F2369B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1073

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

Preview Lab → · Contrast checker → · Palette generator →

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