#3E2093#3E2093

#3E2093 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.173 H 286.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#3E2093
RGBrgb(62, 32, 147)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 58%)
CMYKcmyk(57.8%, 78.2%, 0%, 42.4%)
CIE-LABlab(24.20, 43.69, -57.85)
CIE-LCHlch(24.20, 72.50, 307.06°)
OKLaboklab(36.62% 0.0481 -0.1666)
OKLCHoklch(36.62% 0.173 286.1)
XYZxyz(7.7680, 4.1633, 27.9924)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2093 #759320
analogous
#203C93 #3E2093 #772093
triadic
#3E2093 #933E20 #20933E
tetradic
#3E2093 #93203C #759320 #209377
square
#3E2093 #93203C #759320 #209377
split-complementary
#3E2093 #937720 #3C9320
monochromatic
#140A2E #291561 #3E2093 #532BC5 #7754DA

Accessibility & contrast

On white

11.46
#3E2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3E2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2093
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2093#FFFFFF#000000##FFFFFF
##3E20931.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#144159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2093;
/* rgb */ color: rgb(62, 32, 147);
/* oklch */ color: oklch(36.6% 0.173 286.1);
Tailwind
colors: {
  custom: {
    50: '#7e5fb4',
    500: '#3e2093',
    950: '#000000',
  },
}
SCSS
$custom: #3e2093;
$custom-light: #7e5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2093",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 255.652,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36619,
    "c": 0.17339,
    "h": 286.1
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#3E2093
secondary
#A1BD52
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2093

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

Preview Lab → · Contrast checker → · Palette generator →

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