#3E2D64#3E2D64

#3E2D64 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.6% C 0.093 H 295.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3E2D64
RGBrgb(62, 45, 100)
HSLhsl(259, 38%, 28%)
HSVhsv(259, 55%, 39%)
CMYKcmyk(38%, 55%, 0%, 60.8%)
CIE-LABlab(23.07, 21.71, -29.88)
CIE-LCHlch(23.07, 36.93, 305.99°)
OKLaboklab(34.58% 0.04 -0.0845)
OKLCHoklch(34.58% 0.094 295.3)
XYZxyz(5.2247, 3.8209, 12.5164)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D64 #53642D
analogous
#2D3764 #3E2D64 #592D64
triadic
#3E2D64 #643E2D #2D643E
tetradic
#3E2D64 #642D37 #53642D #2D6459
square
#3E2D64 #642D37 #53642D #2D6459
split-complementary
#3E2D64 #64592D #37642D
monochromatic
#0D0915 #241A3A #3E2D64 #58408E #7458B4

Accessibility & contrast

On white

11.90
#3E2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D64
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D64#FFFFFF#000000##FFFFFF
##3E2D641.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183766
Deuteranopia (green-blind)
#1B3663
Tritanopia (blue-blind)
#353844
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2d64;
/* rgb */ color: rgb(62, 45, 100);
/* oklch */ color: oklch(34.6% 0.093 295.3);
Tailwind
colors: {
  custom: {
    50: '#766690',
    500: '#3e2d64',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d64;
$custom-light: #766690;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d64",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 258.545,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.0935,
    "h": 295.3
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#3E2D64
secondary
#829657
accent
#CE5AAA
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #3E2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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