#3E1175#3E1175

#3E1175 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.153 H 296.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#3E1175
RGBrgb(62, 17, 117)
HSLhsl(267, 75%, 26%)
HSVhsv(267, 85%, 46%)
CMYKcmyk(47%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.84, 42.01, -47.76)
CIE-LCHlch(18.84, 63.61, 311.33°)
OKLaboklab(31.97% 0.069 -0.1369)
OKLCHoklch(31.97% 0.153 296.8)
XYZxyz(5.3971, 2.7093, 17.0648)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1175 #487511
analogous
#111675 #3E1175 #701175
triadic
#3E1175 #753E11 #11753E
tetradic
#3E1175 #751116 #487511 #117570
square
#3E1175 #751116 #487511 #117570
split-complementary
#3E1175 #757011 #167511
monochromatic
#0E041B #220940 #3E1175 #5A19AA #7722DF

Accessibility & contrast

On white

13.62
#3E1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3E1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1175
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1175#FFFFFF#000000##FFFFFF
##3E11751.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#2F2E44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1175;
/* rgb */ color: rgb(62, 17, 117);
/* oklch */ color: oklch(32.0% 0.153 296.8);
Tailwind
colors: {
  custom: {
    50: '#7a569e',
    500: '#3e1175',
    950: '#000000',
  },
}
SCSS
$custom: #3e1175;
$custom-light: #7a569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1175",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 267,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.15332,
    "h": 296.8
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#3E1175
secondary
#77AC36
accent
#F1379D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1175

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

Preview Lab → · Contrast checker → · Palette generator →

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