#3E2099#3E2099

#3E2099 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.180 H 284.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3E2099
RGBrgb(62, 32, 153)
HSLhsl(255, 65%, 36%)
HSVhsv(255, 79%, 60%)
CMYKcmyk(59.5%, 79.1%, 0%, 40%)
CIE-LABlab(24.82, 45.46, -60.54)
CIE-LCHlch(24.82, 75.71, 306.90°)
OKLaboklab(37.23% 0.0463 -0.1744)
OKLCHoklch(37.23% 0.18 284.9)
XYZxyz(8.2511, 4.3566, 30.5369)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2099 #7B9920
analogous
#203F99 #3E2099 #7B2099
triadic
#3E2099 #993E20 #20993E
tetradic
#3E2099 #99203F #7B9920 #20997B
square
#3E2099 #99203F #7B9920 #20997B
split-complementary
#3E2099 #997B20 #3F9920
monochromatic
#150B34 #291566 #3E2099 #532BCC #7857DC

Accessibility & contrast

On white

11.22
#3E2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2099
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2099#FFFFFF#000000##FFFFFF
##3E20991.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#08435C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2099;
/* rgb */ color: rgb(62, 32, 153);
/* oklch */ color: oklch(37.2% 0.180 284.9);
Tailwind
colors: {
  custom: {
    50: '#7f60b8',
    500: '#3e2099',
    950: '#000000',
  },
}
SCSS
$custom: #3e2099;
$custom-light: #7f60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2099",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 254.876,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37231,
    "c": 0.18048,
    "h": 284.9
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#3E2099
secondary
#A5C055
accent
#E83FBE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E2099

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

Preview Lab → · Contrast checker → · Palette generator →

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