#3E1365#3E1365

#3E1365 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.134 H 302.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#3E1365
RGBrgb(62, 19, 101)
HSLhsl(271, 68%, 24%)
HSVhsv(271, 81%, 40%)
CMYKcmyk(38.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(17.60, 36.97, -39.38)
CIE-LCHlch(17.60, 54.01, 313.20°)
OKLaboklab(30.64% 0.0726 -0.1123)
OKLCHoklch(30.64% 0.134 302.9)
XYZxyz(4.5679, 2.4295, 12.5377)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1365 #3A6513
analogous
#151365 #3E1365 #651363
triadic
#3E1365 #653E13 #13653E
tetradic
#3E1365 #651513 #3A6513 #136365
square
#3E1365 #651513 #3A6513 #136365
split-complementary
#3E1365 #636513 #136515
monochromatic
#10051A #1E0931 #3E1365 #5E1D99 #7D26CC

Accessibility & contrast

On white

14.13
#3E1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1365
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1365#FFFFFF#000000##FFFFFF
##3E13651.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#36283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1365;
/* rgb */ color: rgb(62, 19, 101);
/* oklch */ color: oklch(30.6% 0.134 302.9);
Tailwind
colors: {
  custom: {
    50: '#785692',
    500: '#3e1365',
    950: '#000000',
  },
}
SCSS
$custom: #3e1365;
$custom-light: #785692;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1365",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 271.463,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30636,
    "c": 0.13371,
    "h": 302.9
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#3E1365
secondary
#679D37
accent
#EB3D90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1365

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

Preview Lab → · Contrast checker → · Palette generator →

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