#3E2D63#3E2D63

#3E2D63 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.5% C 0.092 H 295.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#3E2D63
RGBrgb(62, 45, 99)
HSLhsl(259, 38%, 28%)
HSVhsv(259, 55%, 39%)
CMYKcmyk(37.4%, 54.5%, 0%, 61.2%)
CIE-LABlab(23.00, 21.40, -29.34)
CIE-LCHlch(23.00, 36.31, 306.12°)
OKLaboklab(34.51% 0.0399 -0.0829)
OKLCHoklch(34.51% 0.092 295.7)
XYZxyz(5.1766, 3.8017, 12.2630)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D63 #52632D
analogous
#2D3763 #3E2D63 #592D63
triadic
#3E2D63 #633E2D #2D633E
tetradic
#3E2D63 #632D37 #52632D #2D6359
square
#3E2D63 #632D37 #52632D #2D6359
split-complementary
#3E2D63 #63592D #37632D
monochromatic
#0D0A15 #241A39 #3E2D63 #58408D #7458B3

Accessibility & contrast

On white

11.93
#3E2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2D63
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D63#FFFFFF#000000##FFFFFF
##3E2D631.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183765
Deuteranopia (green-blind)
#1C3662
Tritanopia (blue-blind)
#353843
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2d63;
/* rgb */ color: rgb(62, 45, 99);
/* oklch */ color: oklch(34.5% 0.092 295.7);
Tailwind
colors: {
  custom: {
    50: '#766690',
    500: '#3e2d63',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d63;
$custom-light: #766690;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d63",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 258.889,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34506,
    "c": 0.09202,
    "h": 295.7
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#3E2D63
secondary
#819557
accent
#CD5AA9
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #3E2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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