#3E2B60#3E2B60

#3E2B60 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.9% C 0.091 H 297.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#3E2B60
RGBrgb(62, 43, 96)
HSLhsl(262, 38%, 27%)
HSVhsv(262, 55%, 38%)
CMYKcmyk(35.4%, 55.2%, 0%, 62.4%)
CIE-LABlab(22.29, 21.82, -28.51)
CIE-LCHlch(22.29, 35.91, 307.43°)
OKLaboklab(33.91% 0.0427 -0.0805)
OKLCHoklch(33.91% 0.091 297.9)
XYZxyz(4.9613, 3.5964, 11.4968)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B60 #4D602B
analogous
#2B3360 #3E2B60 #582B60
triadic
#3E2B60 #603E2B #2B603E
tetradic
#3E2B60 #602B33 #4D602B #2B6058
square
#3E2B60 #602B33 #4D602B #2B6058
split-complementary
#3E2B60 #60582B #33602B
monochromatic
#0E0915 #231836 #3E2B60 #593E8A #7553B2

Accessibility & contrast

On white

12.21
#3E2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B60
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B60#FFFFFF#000000##FFFFFF
##3E2B601.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173562
Deuteranopia (green-blind)
#1C355F
Tritanopia (blue-blind)
#373541
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e2b60;
/* rgb */ color: rgb(62, 43, 96);
/* oklch */ color: oklch(33.9% 0.091 297.9);
Tailwind
colors: {
  custom: {
    50: '#75658d',
    500: '#3e2b60',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b60;
$custom-light: #75658d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b60",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 261.509,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3391,
    "c": 0.0911,
    "h": 297.9
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#3E2B60
secondary
#7C9255
accent
#CE5AA4
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08050C
muted
#7B7A7D

Preview Lab

Preview with #3E2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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