#3E2E7A#3E2E7A

#3E2E7A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.4% C 0.124 H 288.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3E2E7A
RGBrgb(62, 46, 122)
HSLhsl(253, 45%, 33%)
HSVhsv(253, 62%, 48%)
CMYKcmyk(49.2%, 62.3%, 0%, 52.2%)
CIE-LABlab(24.90, 27.92, -41.08)
CIE-LCHlch(24.90, 49.67, 304.21°)
OKLaboklab(36.43% 0.039 -0.1174)
OKLCHoklch(36.43% 0.124 288.4)
XYZxyz(6.4754, 4.3830, 18.9134)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E7A #6A7A2E
analogous
#2E447A #3E2E7A #642E7A
triadic
#3E2E7A #7A3E2E #2E7A3E
tetradic
#3E2E7A #7A2E44 #6A7A2E #2E7A64
square
#3E2E7A #7A2E44 #6A7A2E #2E7A64
split-complementary
#3E2E7A #7A642E #447A2E
monochromatic
#110C21 #271D4E #3E2E7A #553FA6 #7460C3

Accessibility & contrast

On white

11.19
#3E2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E2E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E7A
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E7A#FFFFFF#000000##FFFFFF
##3E2E7A1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#2A3F4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2e7a;
/* rgb */ color: rgb(62, 46, 122);
/* oklch */ color: oklch(36.4% 0.124 288.4);
Tailwind
colors: {
  custom: {
    50: '#7867a1',
    500: '#3e2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e7a;
$custom-light: #7867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e7a",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 252.632,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3643,
    "c": 0.12371,
    "h": 288.4
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#3E2E7A
secondary
#99AA5A
accent
#D553BA
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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