#3E2290#3E2290

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

Color values

HEX#3E2290
RGBrgb(62, 34, 144)
HSLhsl(255, 62%, 35%)
HSVhsv(255, 76%, 56%)
CMYKcmyk(56.9%, 76.4%, 0%, 43.5%)
CIE-LABlab(24.26, 41.78, -55.90)
CIE-LCHlch(24.26, 69.79, 306.77°)
OKLaboklab(36.57% 0.0474 -0.1609)
OKLCHoklch(36.57% 0.168 286.4)
XYZxyz(7.5912, 4.1814, 26.7872)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2290 #749022
analogous
#223D90 #3E2290 #752290
triadic
#3E2290 #903E22 #22903E
tetradic
#3E2290 #90223D #749022 #229075
square
#3E2290 #90223D #749022 #229075
split-complementary
#3E2290 #907522 #3D9022
monochromatic
#130B2D #29165E #3E2290 #532EC2 #7655D7

Accessibility & contrast

On white

11.44
#3E2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2290
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2290#FFFFFF#000000##FFFFFF
##3E22901.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#184157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2290;
/* rgb */ color: rgb(62, 34, 144);
/* oklch */ color: oklch(36.6% 0.168 286.4);
Tailwind
colors: {
  custom: {
    50: '#7d60b2',
    500: '#3e2290',
    950: '#000000',
  },
}
SCSS
$custom: #3e2290;
$custom-light: #7d60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2290",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 255.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36569,
    "c": 0.16774,
    "h": 286.4
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#3E2290
secondary
#A0BB53
accent
#E543BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2290

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

Preview Lab → · Contrast checker → · Palette generator →

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