#3E1853#3E1853

#3E1853 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.106 H 311.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#3E1853
RGBrgb(62, 24, 83)
HSLhsl(279, 55%, 21%)
HSVhsv(279, 71%, 33%)
CMYKcmyk(25.3%, 71.1%, 0%, 67.5%)
CIE-LABlab(17.00, 29.84, -28.32)
CIE-LCHlch(17.00, 41.14, 316.50°)
OKLaboklab(29.74% 0.07 -0.0799)
OKLCHoklch(29.74% 0.106 311.2)
XYZxyz(3.8743, 2.3020, 8.4222)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1853 #2D5318
analogous
#201853 #3E1853 #53184A
triadic
#3E1853 #533E18 #18533E
tetradic
#3E1853 #532018 #2D5318 #184A53
square
#3E1853 #532018 #2D5318 #184A53
split-complementary
#3E1853 #4A5318 #185320
monochromatic
#120718 #1B0A24 #3E1853 #612682 #8533B2

Accessibility & contrast

On white

14.38
#3E1853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E1853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1853
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1853#FFFFFF#000000##FFFFFF
##3E18531.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#122B52
Tritanopia (blue-blind)
#3B2433
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1853;
/* rgb */ color: rgb(62, 24, 83);
/* oklch */ color: oklch(29.7% 0.106 311.2);
Tailwind
colors: {
  custom: {
    50: '#765884',
    500: '#3e1853',
    950: '#000000',
  },
}
SCSS
$custom: #3e1853;
$custom-light: #765884;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1853",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 278.644,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29745,
    "c": 0.1062,
    "h": 311.2
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#3E1853
secondary
#588A3D
accent
#DE497E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1853

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

Preview Lab → · Contrast checker → · Palette generator →

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