#3E355B#3E355B

#3E355B is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.6% C 0.065 H 293.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3E355B
RGBrgb(62, 53, 91)
HSLhsl(254, 26%, 28%)
HSVhsv(254, 42%, 36%)
CMYKcmyk(31.9%, 41.8%, 0%, 64.3%)
CIE-LABlab(24.72, 13.66, -21.39)
CIE-LCHlch(24.72, 25.38, 302.56°)
OKLaboklab(35.64% 0.0262 -0.0597)
OKLCHoklch(35.64% 0.065 293.7)
XYZxyz(5.1476, 4.3256, 10.4592)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E355B #525B35
analogous
#353F5B #3E355B #51355B
triadic
#3E355B #5B3E35 #355B3E
tetradic
#3E355B #5B353F #525B35 #355B51
square
#3E355B #5B353F #525B35 #355B51
split-complementary
#3E355B #5B5135 #3F5B35
monochromatic
#0D0B13 #241E34 #3E355B #584C82 #7465A5

Accessibility & contrast

On white

11.26
#3E355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E355B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E355B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E355B#FFFFFF#000000##FFFFFF
##3E355B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5C
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#383C43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e355b;
/* rgb */ color: rgb(62, 53, 91);
/* oklch */ color: oklch(35.6% 0.065 293.7);
Tailwind
colors: {
  custom: {
    50: '#746c89',
    500: '#3e355b',
    950: '#000000',
  },
}
SCSS
$custom: #3e355b;
$custom-light: #746c89;
$custom-dark: #000000;
JSON
{
  "hex": "#3e355b",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 254.211,
    "s": 26.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.06525,
    "h": 293.7
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#3E355B
secondary
#818C60
accent
#C365AD
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08070B
muted
#7B7A7C

Preview Lab

Preview with #3E355B

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

Preview Lab → · Contrast checker → · Palette generator →

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