#3E1269#3E1269

#3E1269 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.139 H 301.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#3E1269
RGBrgb(62, 18, 105)
HSLhsl(270, 71%, 24%)
HSVhsv(270, 83%, 41%)
CMYKcmyk(41%, 82.9%, 0%, 58.8%)
CIE-LABlab(17.81, 38.45, -41.65)
CIE-LCHlch(17.81, 56.69, 312.71°)
OKLaboklab(30.9% 0.0723 -0.119)
OKLCHoklch(30.9% 0.139 301.3)
XYZxyz(4.7521, 2.4766, 13.5895)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1269 #3D6912
analogous
#131269 #3E1269 #691269
triadic
#3E1269 #693E12 #12693E
tetradic
#3E1269 #691312 #3D6912 #126969
square
#3E1269 #691312 #3D6912 #126969
split-complementary
#3E1269 #696912 #126913
monochromatic
#0F041A #1F0935 #3E1269 #5D1B9D #7C24D1

Accessibility & contrast

On white

14.04
#3E1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1269
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1269#FFFFFF#000000##FFFFFF
##3E12691.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#342A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1269;
/* rgb */ color: rgb(62, 18, 105);
/* oklch */ color: oklch(30.9% 0.139 301.3);
Tailwind
colors: {
  custom: {
    50: '#785695',
    500: '#3e1269',
    950: '#000000',
  },
}
SCSS
$custom: #3e1269;
$custom-light: #785695;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1269",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 270.345,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30901,
    "c": 0.13924,
    "h": 301.3
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#3E1269
secondary
#6BA136
accent
#ED3A93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1269

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

Preview Lab → · Contrast checker → · Palette generator →

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