#3E1E7C#3E1E7C

#3E1E7C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.148 H 292.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3E1E7C
RGBrgb(62, 30, 124)
HSLhsl(260, 61%, 30%)
HSVhsv(260, 76%, 49%)
CMYKcmyk(50%, 75.8%, 0%, 51.4%)
CIE-LABlab(21.61, 37.95, -47.70)
CIE-LCHlch(21.61, 60.96, 308.50°)
OKLaboklab(34.11% 0.056 -0.1368)
OKLCHoklch(34.11% 0.148 292.3)
XYZxyz(6.0880, 3.4077, 19.4019)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E7C #5C7C1E
analogous
#1E2D7C #3E1E7C #6D1E7C
triadic
#3E1E7C #7C3E1E #1E7C3E
tetradic
#3E1E7C #7C1E2D #5C7C1E #1E7C6D
square
#3E1E7C #7C1E2D #5C7C1E #1E7C6D
split-complementary
#3E1E7C #7C6D1E #2D7C1E
monochromatic
#0D0619 #25124B #3E1E7C #572AAD #7343D1

Accessibility & contrast

On white

12.49
#3E1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3E1E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E7C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E7C#FFFFFF#000000##FFFFFF
##3E1E7C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#2A374B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1e7c;
/* rgb */ color: rgb(62, 30, 124);
/* oklch */ color: oklch(34.1% 0.148 292.3);
Tailwind
colors: {
  custom: {
    50: '#7a5da3',
    500: '#3e1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e7c;
$custom-light: #7a5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e7c",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 260.426,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34113,
    "c": 0.14786,
    "h": 292.3
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#3E1E7C
secondary
#8CAF46
accent
#E444AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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