#3E2A55#3E2A55

#3E2A55 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.0% C 0.077 H 304.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#3E2A55
RGBrgb(62, 42, 85)
HSLhsl(268, 34%, 25%)
HSVhsv(268, 51%, 33%)
CMYKcmyk(27.1%, 50.6%, 0%, 66.7%)
CIE-LABlab(21.34, 19.30, -22.74)
CIE-LCHlch(21.34, 29.83, 310.32°)
OKLaboklab(32.98% 0.0429 -0.0636)
OKLCHoklch(32.98% 0.077 304)
XYZxyz(4.4539, 3.3360, 9.0018)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A55 #41552A
analogous
#2A2C55 #3E2A55 #532A55
triadic
#3E2A55 #553E2A #2A553E
tetradic
#3E2A55 #552A2C #41552A #2A5553
square
#3E2A55 #552A2C #41552A #2A5553
split-complementary
#3E2A55 #55532A #2C552A
monochromatic
#0F0A14 #20162C #3E2A55 #5C3E7E #7A52A7

Accessibility & contrast

On white

12.60
#3E2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3E2A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A55
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A55#FFFFFF#000000##FFFFFF
##3E2A551.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3357
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#3A313B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e2a55;
/* rgb */ color: rgb(62, 42, 85);
/* oklch */ color: oklch(33.0% 0.077 304.0);
Tailwind
colors: {
  custom: {
    50: '#746485',
    500: '#3e2a55',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a55;
$custom-light: #746485;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a55",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 267.907,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.07675,
    "h": 304
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#3E2A55
secondary
#6F8753
accent
#CA5E98
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08050B
muted
#7B7A7C

Preview Lab

Preview with #3E2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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