#3E335D#3E335D

#3E335D is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.3% C 0.072 H 294.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#3E335D
RGBrgb(62, 51, 93)
HSLhsl(256, 29%, 28%)
HSVhsv(256, 45%, 36%)
CMYKcmyk(33.3%, 45.2%, 0%, 63.5%)
CIE-LABlab(24.26, 15.60, -23.42)
CIE-LCHlch(24.26, 28.13, 303.67°)
OKLaboklab(35.33% 0.0299 -0.0656)
OKLCHoklch(35.33% 0.072 294.5)
XYZxyz(5.1457, 4.1820, 10.8899)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E335D #525D33
analogous
#333D5D #3E335D #53335D
triadic
#3E335D #5D3E33 #335D3E
tetradic
#3E335D #5D333D #525D33 #335D53
square
#3E335D #5D333D #525D33 #335D53
split-complementary
#3E335D #5D5333 #3D5D33
monochromatic
#0D0B14 #241D35 #3E335D #584985 #7462A9

Accessibility & contrast

On white

11.44
#3E335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E335D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E335D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E335D#FFFFFF#000000##FFFFFF
##3E335D1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#373B43
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e335d;
/* rgb */ color: rgb(62, 51, 93);
/* oklch */ color: oklch(35.3% 0.072 294.5);
Tailwind
colors: {
  custom: {
    50: '#756a8b',
    500: '#3e335d',
    950: '#000000',
  },
}
SCSS
$custom: #3e335d;
$custom-light: #756a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e335d",
  "rgb": {
    "r": 62,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 255.714,
    "s": 29.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.0721,
    "h": 294.5
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#3E335D
secondary
#818E5E
accent
#C562AB
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #3E335D

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

Preview Lab → · Contrast checker → · Palette generator →

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