#3E1665#3E1665

#3E1665 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.130 H 302.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#3E1665
RGBrgb(62, 22, 101)
HSLhsl(270, 64%, 24%)
HSVhsv(270, 78%, 40%)
CMYKcmyk(38.6%, 78.2%, 0%, 60.4%)
CIE-LABlab(18.09, 35.57, -38.58)
CIE-LCHlch(18.09, 52.47, 312.68°)
OKLaboklab(30.98% 0.0696 -0.11)
OKLCHoklch(30.98% 0.13 302.3)
XYZxyz(4.6219, 2.5375, 12.5557)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1665 #3D6516
analogous
#171665 #3E1665 #651665
triadic
#3E1665 #653E16 #16653E
tetradic
#3E1665 #651716 #3D6516 #166565
square
#3E1665 #651716 #3D6516 #166565
split-complementary
#3E1665 #656516 #166517
monochromatic
#0F0519 #1F0B33 #3E1665 #5D2197 #7C2CCA

Accessibility & contrast

On white

13.93
#3E1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1665
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1665#FFFFFF#000000##FFFFFF
##3E16651.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1665;
/* rgb */ color: rgb(62, 22, 101);
/* oklch */ color: oklch(31.0% 0.130 302.3);
Tailwind
colors: {
  custom: {
    50: '#785892',
    500: '#3e1665',
    950: '#000000',
  },
}
SCSS
$custom: #3e1665;
$custom-light: #785892;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1665",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 270.38,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30981,
    "c": 0.13013,
    "h": 302.3
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#3E1665
secondary
#6B9C3B
accent
#E74193
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1665

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

Preview Lab → · Contrast checker → · Palette generator →

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