#3E1465#3E1465

#3E1465 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.133 H 302.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#3E1465
RGBrgb(62, 20, 101)
HSLhsl(271, 67%, 24%)
HSVhsv(271, 80%, 40%)
CMYKcmyk(38.6%, 80.2%, 0%, 60.4%)
CIE-LABlab(17.75, 36.52, -39.12)
CIE-LCHlch(17.75, 53.52, 313.03°)
OKLaboklab(30.75% 0.0716 -0.1116)
OKLCHoklch(30.75% 0.133 302.7)
XYZxyz(4.5852, 2.4640, 12.5434)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1465 #3B6514
analogous
#151465 #3E1465 #651463
triadic
#3E1465 #653E14 #14653E
tetradic
#3E1465 #651514 #3B6514 #146365
square
#3E1465 #651514 #3B6514 #146365
split-complementary
#3E1465 #636514 #146515
monochromatic
#10051A #1F0A32 #3E1465 #5D1E98 #7D28CB

Accessibility & contrast

On white

14.07
#3E1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1465
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1465#FFFFFF#000000##FFFFFF
##3E14651.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#36293C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1465;
/* rgb */ color: rgb(62, 20, 101);
/* oklch */ color: oklch(30.7% 0.133 302.7);
Tailwind
colors: {
  custom: {
    50: '#785792',
    500: '#3e1465',
    950: '#000000',
  },
}
SCSS
$custom: #3e1465;
$custom-light: #785792;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1465",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 271.111,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.13255,
    "h": 302.7
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#3E1465
secondary
#699C39
accent
#EA3E91
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1465

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

Preview Lab → · Contrast checker → · Palette generator →

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