#3E2773#3E2773

#3E2773 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.124 H 292.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#3E2773
RGBrgb(62, 39, 115)
HSLhsl(258, 49%, 30%)
HSVhsv(258, 66%, 45%)
CMYKcmyk(46.1%, 66.1%, 0%, 54.9%)
CIE-LABlab(22.70, 30.11, -40.18)
CIE-LCHlch(22.70, 50.21, 306.85°)
OKLaboklab(34.65% 0.0479 -0.1148)
OKLCHoklch(34.65% 0.124 292.7)
XYZxyz(5.8058, 3.7128, 16.6271)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2773 #5C7327
analogous
#273673 #3E2773 #642773
triadic
#3E2773 #733E27 #27733E
tetradic
#3E2773 #732736 #5C7327 #277364
square
#3E2773 #732736 #5C7327 #277364
split-complementary
#3E2773 #736427 #367327
monochromatic
#0D0818 #251845 #3E2773 #5736A1 #7351C4

Accessibility & contrast

On white

12.05
#3E2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2773
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2773#FFFFFF#000000##FFFFFF
##3E27731.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2773;
/* rgb */ color: rgb(62, 39, 115);
/* oklch */ color: oklch(34.7% 0.124 292.7);
Tailwind
colors: {
  custom: {
    50: '#78629c',
    500: '#3e2773',
    950: '#000000',
  },
}
SCSS
$custom: #3e2773;
$custom-light: #78629c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2773",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 258.158,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.12436,
    "h": 292.7
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#3E2773
secondary
#8CA550
accent
#D94FAF
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E2773

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

Preview Lab → · Contrast checker → · Palette generator →

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