#3E185F#3E185F

#3E185F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.120 H 304.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#3E185F
RGBrgb(62, 24, 95)
HSLhsl(272, 60%, 23%)
HSVhsv(272, 75%, 37%)
CMYKcmyk(34.7%, 74.7%, 0%, 62.7%)
CIE-LABlab(17.93, 32.97, -34.86)
CIE-LCHlch(17.93, 47.98, 313.40°)
OKLaboklab(30.71% 0.0686 -0.0991)
OKLCHoklch(30.71% 0.12 304.7)
XYZxyz(4.3783, 2.5036, 11.0768)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E185F #395F18
analogous
#1A185F #3E185F #5F185C
triadic
#3E185F #5F3E18 #185F3E
tetradic
#3E185F #5F1A18 #395F18 #185C5F
square
#3E185F #5F1A18 #395F18 #185C5F
split-complementary
#3E185F #5C5F18 #185F1A
monochromatic
#100618 #1E0C2E #3E185F #5E2490 #7E31C1

Accessibility & contrast

On white

13.99
#3E185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E185F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E185F#FFFFFF#000000##FFFFFF
##3E185F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#382839
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e185f;
/* rgb */ color: rgb(62, 24, 95);
/* oklch */ color: oklch(30.7% 0.120 304.7);
Tailwind
colors: {
  custom: {
    50: '#77588d',
    500: '#3e185f',
    950: '#000000',
  },
}
SCSS
$custom: #3e185f;
$custom-light: #77588d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e185f",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 272.113,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30713,
    "c": 0.12047,
    "h": 304.7
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#3E185F
secondary
#66953D
accent
#E3458E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E185F

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

Preview Lab → · Contrast checker → · Palette generator →

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