#3E1763#3E1763

#3E1763 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.127 H 303.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#3E1763
RGBrgb(62, 23, 99)
HSLhsl(271, 62%, 24%)
HSVhsv(271, 77%, 39%)
CMYKcmyk(37.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(18.09, 34.54, -37.26)
CIE-LCHlch(18.09, 50.81, 312.84°)
OKLaboklab(30.93% 0.0689 -0.1061)
OKLCHoklch(30.93% 0.127 303)
XYZxyz(4.5446, 2.5378, 12.0524)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1763 #3C6317
analogous
#181763 #3E1763 #631762
triadic
#3E1763 #633E17 #17633E
tetradic
#3E1763 #631817 #3C6317 #176263
square
#3E1763 #631817 #3C6317 #176263
split-complementary
#3E1763 #626317 #176318
monochromatic
#100619 #1F0B31 #3E1763 #5D2395 #7C2EC6

Accessibility & contrast

On white

13.93
#3E1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1763
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1763#FFFFFF#000000##FFFFFF
##3E17631.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#36293B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1763;
/* rgb */ color: rgb(62, 23, 99);
/* oklch */ color: oklch(30.9% 0.127 303.0);
Tailwind
colors: {
  custom: {
    50: '#775890',
    500: '#3e1763',
    950: '#000000',
  },
}
SCSS
$custom: #3e1763;
$custom-light: #775890;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1763",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 270.789,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30928,
    "c": 0.12654,
    "h": 303
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#3E1763
secondary
#6A9A3C
accent
#E54292
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1763

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

Preview Lab → · Contrast checker → · Palette generator →

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