#3E1765#3E1765

#3E1765 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.129 H 302.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#3E1765
RGBrgb(62, 23, 101)
HSLhsl(270, 63%, 24%)
HSVhsv(270, 77%, 40%)
CMYKcmyk(38.6%, 77.2%, 0%, 60.4%)
CIE-LABlab(18.26, 35.08, -38.29)
CIE-LCHlch(18.26, 51.93, 312.49°)
OKLaboklab(31.1% 0.0685 -0.1092)
OKLCHoklch(31.1% 0.129 302.1)
XYZxyz(4.6414, 2.5765, 12.5622)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1765 #3E6517
analogous
#171765 #3E1765 #651765
triadic
#3E1765 #653E17 #17653E
tetradic
#3E1765 #651717 #3E6517 #176565
square
#3E1765 #651717 #3E6517 #176565
split-complementary
#3E1765 #656517 #176517
monochromatic
#0F0619 #1F0C33 #3E1765 #5D2297 #7B2EC9

Accessibility & contrast

On white

13.86
#3E1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3E1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1765
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1765#FFFFFF#000000##FFFFFF
##3E17651.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#362A3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1765;
/* rgb */ color: rgb(62, 23, 101);
/* oklch */ color: oklch(31.1% 0.129 302.1);
Tailwind
colors: {
  custom: {
    50: '#775892',
    500: '#3e1765',
    950: '#000000',
  },
}
SCSS
$custom: #3e1765;
$custom-light: #775892;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1765",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 270,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31104,
    "c": 0.12888,
    "h": 302.1
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#3E1765
secondary
#6C9B3C
accent
#E64294
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1765

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

Preview Lab → · Contrast checker → · Palette generator →

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