#3E2094#3E2094

#3E2094 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.175 H 285.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#3E2094
RGBrgb(62, 32, 148)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 58%)
CMYKcmyk(58.1%, 78.4%, 0%, 42%)
CIE-LABlab(24.31, 43.99, -58.31)
CIE-LCHlch(24.31, 73.04, 307.03°)
OKLaboklab(36.72% 0.0478 -0.1679)
OKLCHoklch(36.72% 0.175 285.9)
XYZxyz(7.8468, 4.1948, 28.4074)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2094 #769420
analogous
#203C94 #3E2094 #782094
triadic
#3E2094 #943E20 #20943E
tetradic
#3E2094 #94203C #769420 #209478
square
#3E2094 #94203C #769420 #209478
split-complementary
#3E2094 #947820 #3C9420
monochromatic
#140A2F #291562 #3E2094 #532BC6 #7754DA

Accessibility & contrast

On white

11.42
#3E2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2094
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2094#FFFFFF#000000##FFFFFF
##3E20941.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#134159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2094;
/* rgb */ color: rgb(62, 32, 148);
/* oklch */ color: oklch(36.7% 0.175 285.9);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3e2094',
    950: '#000000',
  },
}
SCSS
$custom: #3e2094;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2094",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 255.517,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.17458,
    "h": 285.9
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#3E2094
secondary
#A2BE52
accent
#E740BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2094

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

Preview Lab → · Contrast checker → · Palette generator →

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