#3E2285#3E2285

#3E2285 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.154 H 289.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3E2285
RGBrgb(62, 34, 133)
HSLhsl(257, 59%, 33%)
HSVhsv(257, 74%, 52%)
CMYKcmyk(53.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(23.21, 38.48, -50.77)
CIE-LCHlch(23.21, 63.70, 307.16°)
OKLaboklab(35.5% 0.0502 -0.1459)
OKLCHoklch(35.5% 0.154 289)
XYZxyz(6.7910, 3.8613, 22.5732)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2285 #698522
analogous
#223785 #3E2285 #6F2285
triadic
#3E2285 #853E22 #22853E
tetradic
#3E2285 #852237 #698522 #22856F
square
#3E2285 #852237 #698522 #22856F
split-complementary
#3E2285 #856F22 #378522
monochromatic
#110924 #271654 #3E2285 #552EB6 #744FD2

Accessibility & contrast

On white

11.85
#3E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3E2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2285
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2285#FFFFFF#000000##FFFFFF
##3E22851.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#243C51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2285;
/* rgb */ color: rgb(62, 34, 133);
/* oklch */ color: oklch(35.5% 0.154 289.0);
Tailwind
colors: {
  custom: {
    50: '#7b60a9',
    500: '#3e2285',
    950: '#000000',
  },
}
SCSS
$custom: #3e2285;
$custom-light: #7b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2285",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 256.97,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35503,
    "c": 0.15424,
    "h": 289
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#3E2285
secondary
#98B64D
accent
#E245B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2285

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

Preview Lab → · Contrast checker → · Palette generator →

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