#3E2673#3E2673

#3E2673 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.126 H 293.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3E2673
RGBrgb(62, 38, 115)
HSLhsl(259, 50%, 30%)
HSVhsv(259, 67%, 45%)
CMYKcmyk(46.1%, 67%, 0%, 54.9%)
CIE-LABlab(22.47, 30.72, -40.55)
CIE-LCHlch(22.47, 50.87, 307.15°)
OKLaboklab(34.49% 0.0491 -0.1158)
OKLCHoklch(34.49% 0.126 293)
XYZxyz(5.7734, 3.6480, 16.6163)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2673 #5B7326
analogous
#263573 #3E2673 #642673
triadic
#3E2673 #733E26 #26733E
tetradic
#3E2673 #732635 #5B7326 #267364
square
#3E2673 #732635 #5B7326 #267364
split-complementary
#3E2673 #736426 #357326
monochromatic
#0C0817 #251745 #3E2673 #5735A1 #734FC5

Accessibility & contrast

On white

12.14
#3E2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2673
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2673#FFFFFF#000000##FFFFFF
##3E26731.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#2F3849
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2673;
/* rgb */ color: rgb(62, 38, 115);
/* oklch */ color: oklch(34.5% 0.126 293.0);
Tailwind
colors: {
  custom: {
    50: '#78629c',
    500: '#3e2673',
    950: '#000000',
  },
}
SCSS
$custom: #3e2673;
$custom-light: #78629c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2673",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 258.701,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.34487,
    "c": 0.12583,
    "h": 293
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#3E2673
secondary
#8BA64F
accent
#DA4EAE
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E2673

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

Preview Lab → · Contrast checker → · Palette generator →

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