#3E2691#3E2691

#3E2691 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.165 H 285.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3E2691
RGBrgb(62, 38, 145)
HSLhsl(253, 58%, 36%)
HSVhsv(253, 74%, 57%)
CMYKcmyk(57.2%, 73.8%, 0%, 43.1%)
CIE-LABlab(25.12, 39.94, -55.11)
CIE-LCHlch(25.12, 68.06, 305.93°)
OKLaboklab(37.2% 0.0439 -0.1586)
OKLCHoklch(37.2% 0.165 285.5)
XYZxyz(7.7890, 4.4542, 27.2319)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2691 #799126
analogous
#264391 #3E2691 #732691
triadic
#3E2691 #913E26 #26913E
tetradic
#3E2691 #912643 #799126 #269173
square
#3E2691 #912643 #799126 #269173
split-complementary
#3E2691 #917326 #439126
monochromatic
#150D30 #291961 #3E2691 #5333C1 #785DD5

Accessibility & contrast

On white

11.11
#3E2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3E2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2691
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2691#FFFFFF#000000##FFFFFF
##3E26911.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#174359
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2691;
/* rgb */ color: rgb(62, 38, 145);
/* oklch */ color: oklch(37.2% 0.165 285.5);
Tailwind
colors: {
  custom: {
    50: '#7d63b2',
    500: '#3e2691',
    950: '#000000',
  },
}
SCSS
$custom: #3e2691;
$custom-light: #7d63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2691",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 253.458,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.16458,
    "h": 285.5
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#3E2691
secondary
#A4BA59
accent
#E246BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2691

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

Preview Lab → · Contrast checker → · Palette generator →

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