#3E1355#3E1355

#3E1355 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.116 H 311.0°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3E1355
RGBrgb(62, 19, 85)
HSLhsl(279, 63%, 20%)
HSVhsv(279, 78%, 33%)
CMYKcmyk(27.1%, 77.6%, 0%, 66.7%)
CIE-LABlab(16.23, 32.91, -30.91)
CIE-LCHlch(16.23, 45.14, 316.80°)
OKLaboklab(29.25% 0.076 -0.0874)
OKLCHoklch(29.25% 0.116 311)
XYZxyz(3.8589, 2.1458, 8.8035)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1355 #2A5513
analogous
#1D1355 #3E1355 #55134B
triadic
#3E1355 #553E13 #13553E
tetradic
#3E1355 #551D13 #2A5513 #134B55
square
#3E1355 #551D13 #2A5513 #134B55
split-complementary
#3E1355 #4B5513 #13551D
monochromatic
#120619 #1A0823 #3E1355 #621E87 #8729B9

Accessibility & contrast

On white

14.69
#3E1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1355
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1355#FFFFFF#000000##FFFFFF
##3E13551.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#092954
Tritanopia (blue-blind)
#3B2232
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1355;
/* rgb */ color: rgb(62, 19, 85);
/* oklch */ color: oklch(29.2% 0.116 311.0);
Tailwind
colors: {
  custom: {
    50: '#765585',
    500: '#3e1355',
    950: '#000000',
  },
}
SCSS
$custom: #3e1355;
$custom-light: #765585;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1355",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 279.091,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29247,
    "c": 0.11586,
    "h": 311
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#3E1355
secondary
#558D36
accent
#E6417B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1355

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

Preview Lab → · Contrast checker → · Palette generator →

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