#3E1253#3E1253

#3E1253 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.115 H 312.4°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#3E1253
RGBrgb(62, 18, 83)
HSLhsl(281, 64%, 20%)
HSVhsv(281, 78%, 33%)
CMYKcmyk(25.3%, 78.3%, 0%, 67.5%)
CIE-LABlab(15.91, 32.89, -30.08)
CIE-LCHlch(15.91, 44.57, 317.56°)
OKLaboklab(28.97% 0.0775 -0.085)
OKLCHoklch(28.97% 0.115 312.4)
XYZxyz(3.7640, 2.0814, 8.3854)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1253 #275312
analogous
#1D1253 #3E1253 #531248
triadic
#3E1253 #533E12 #12533E
tetradic
#3E1253 #531D12 #275312 #124853
square
#3E1253 #531D12 #275312 #124853
split-complementary
#3E1253 #485312 #12531D
monochromatic
#130519 #180721 #3E1253 #641D85 #8928B8

Accessibility & contrast

On white

14.83
#3E1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1253
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1253#FFFFFF#000000##FFFFFF
##3E12531.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#0A2852
Tritanopia (blue-blind)
#3C2031
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1253;
/* rgb */ color: rgb(62, 18, 83);
/* oklch */ color: oklch(29.0% 0.115 312.4);
Tailwind
colors: {
  custom: {
    50: '#765584',
    500: '#3e1253',
    950: '#000000',
  },
}
SCSS
$custom: #3e1253;
$custom-light: #765584;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1253",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 280.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28965,
    "c": 0.11501,
    "h": 312.4
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#3E1253
secondary
#518C35
accent
#E74076
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1253

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

Preview Lab → · Contrast checker → · Palette generator →

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