#3E1975#3E1975

#3E1975 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.145 H 295.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#3E1975
RGBrgb(62, 25, 117)
HSLhsl(264, 65%, 28%)
HSVhsv(264, 79%, 46%)
CMYKcmyk(47%, 78.6%, 0%, 54.1%)
CIE-LABlab(20.06, 38.49, -45.76)
CIE-LCHlch(20.06, 59.80, 310.06°)
OKLaboklab(32.82% 0.0625 -0.1311)
OKLCHoklch(32.82% 0.145 295.5)
XYZxyz(5.5443, 3.0036, 17.1138)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1975 #507519
analogous
#192275 #3E1975 #6C1975
triadic
#3E1975 #753E19 #19753E
tetradic
#3E1975 #751922 #507519 #19756C
square
#3E1975 #751922 #507519 #19756C
split-complementary
#3E1975 #756C19 #227519
monochromatic
#0D0519 #230E43 #3E1975 #5924A7 #7535D4

Accessibility & contrast

On white

13.12
#3E1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3E1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1975
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1975#FFFFFF#000000##FFFFFF
##3E19751.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#2F3246
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1975;
/* rgb */ color: rgb(62, 25, 117);
/* oklch */ color: oklch(32.8% 0.145 295.5);
Tailwind
colors: {
  custom: {
    50: '#795a9e',
    500: '#3e1975',
    950: '#000000',
  },
}
SCSS
$custom: #3e1975;
$custom-light: #795a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1975",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 264.13,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3282,
    "c": 0.14525,
    "h": 295.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#3E1975
secondary
#7FAA40
accent
#E840A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1975

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

Preview Lab → · Contrast checker → · Palette generator →

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