#3E2A75#3E2A75

#3E2A75 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.3% C 0.123 H 291.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#3E2A75
RGBrgb(62, 42, 117)
HSLhsl(256, 47%, 31%)
HSVhsv(256, 64%, 46%)
CMYKcmyk(47%, 64.1%, 0%, 54.1%)
CIE-LABlab(23.55, 28.87, -40.08)
CIE-LCHlch(23.55, 49.39, 305.77°)
OKLaboklab(35.32% 0.0441 -0.1145)
OKLCHoklch(35.32% 0.123 291.1)
XYZxyz(6.0246, 3.9642, 17.2739)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A75 #61752A
analogous
#2A3B75 #3E2A75 #632A75
triadic
#3E2A75 #753E2A #2A753E
tetradic
#3E2A75 #752A3B #61752A #2A7563
square
#3E2A75 #752A3B #61752A #2A7563
split-complementary
#3E2A75 #75632A #3B752A
monochromatic
#0E0A1B #261A48 #3E2A75 #563AA2 #7457C3

Accessibility & contrast

On white

11.71
#3E2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3E2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A75
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A75#FFFFFF#000000##FFFFFF
##3E2A751.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#2E3B4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2a75;
/* rgb */ color: rgb(62, 42, 117);
/* oklch */ color: oklch(35.3% 0.123 291.1);
Tailwind
colors: {
  custom: {
    50: '#78649d',
    500: '#3e2a75',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a75;
$custom-light: #78649d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a75",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 256,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.12267,
    "h": 291.1
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#3E2A75
secondary
#91A754
accent
#D751B3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3E2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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