#3E2075#3E2075

#3E2075 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.137 H 294.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#3E2075
RGBrgb(62, 32, 117)
HSLhsl(261, 57%, 29%)
HSVhsv(261, 73%, 46%)
CMYKcmyk(47%, 72.6%, 0%, 54.1%)
CIE-LABlab(21.36, 34.82, -43.64)
CIE-LCHlch(21.36, 55.82, 308.59°)
OKLaboklab(33.74% 0.0556 -0.1249)
OKLCHoklch(33.74% 0.137 294)
XYZxyz(5.7131, 3.3413, 17.1701)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2075 #577520
analogous
#202D75 #3E2075 #692075
triadic
#3E2075 #753E20 #20753E
tetradic
#3E2075 #75202D #577520 #207569
square
#3E2075 #75202D #577520 #207569
split-complementary
#3E2075 #756920 #2D7520
monochromatic
#0D0718 #251345 #3E2075 #572DA5 #7444CC

Accessibility & contrast

On white

12.59
#3E2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2075
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2075#FFFFFF#000000##FFFFFF
##3E20751.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#2E3548
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e2075;
/* rgb */ color: rgb(62, 32, 117);
/* oklch */ color: oklch(33.7% 0.137 294.0);
Tailwind
colors: {
  custom: {
    50: '#795e9d',
    500: '#3e2075',
    950: '#000000',
  },
}
SCSS
$custom: #3e2075;
$custom-light: #795e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2075",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 261.176,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33743,
    "c": 0.13671,
    "h": 294
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#3E2075
secondary
#87A848
accent
#E047AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E2075

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

Preview Lab → · Contrast checker → · Palette generator →

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