#3E2382#3E2382

#3E2382 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.149 H 289.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#3E2382
RGBrgb(62, 35, 130)
HSLhsl(257, 58%, 32%)
HSVhsv(257, 73%, 51%)
CMYKcmyk(52.3%, 73.1%, 0%, 49%)
CIE-LABlab(23.13, 37.02, -49.02)
CIE-LCHlch(23.13, 61.43, 307.07°)
OKLaboklab(35.36% 0.0499 -0.1407)
OKLCHoklch(35.36% 0.149 289.5)
XYZxyz(6.6157, 3.8376, 21.5069)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2382 #678223
analogous
#233782 #3E2382 #6E2382
triadic
#3E2382 #823E23 #23823E
tetradic
#3E2382 #822337 #678223 #23826E
square
#3E2382 #822337 #678223 #23826E
split-complementary
#3E2382 #826E23 #378223
monochromatic
#100922 #271652 #3E2382 #5530B2 #7450D0

Accessibility & contrast

On white

11.88
#3E2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2382
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2382#FFFFFF#000000##FFFFFF
##3E23821.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#263C50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2382;
/* rgb */ color: rgb(62, 35, 130);
/* oklch */ color: oklch(35.4% 0.149 289.5);
Tailwind
colors: {
  custom: {
    50: '#7b60a7',
    500: '#3e2382',
    950: '#000000',
  },
}
SCSS
$custom: #3e2382;
$custom-light: #7b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2382",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 257.053,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.1493,
    "h": 289.5
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#3E2382
secondary
#96B34D
accent
#E147B5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2382

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

Preview Lab → · Contrast checker → · Palette generator →

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