#3E185B#3E185B

#3E185B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.4% C 0.116 H 306.7°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#3E185B
RGBrgb(62, 24, 91)
HSLhsl(274, 58%, 23%)
HSVhsv(274, 74%, 36%)
CMYKcmyk(31.9%, 73.6%, 0%, 64.3%)
CIE-LABlab(17.61, 31.91, -32.71)
CIE-LCHlch(17.61, 45.70, 314.28°)
OKLaboklab(30.38% 0.0692 -0.0928)
OKLCHoklch(30.38% 0.116 306.7)
XYZxyz(4.2012, 2.4328, 10.1438)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E185B #355B18
analogous
#1D185B #3E185B #5B1856
triadic
#3E185B #5B3E18 #185B3E
tetradic
#3E185B #5B1D18 #355B18 #18565B
square
#3E185B #5B1D18 #355B18 #18565B
split-complementary
#3E185B #565B18 #185B1D
monochromatic
#100618 #1D0B2B #3E185B #5F258B #8032BC

Accessibility & contrast

On white

14.13
#3E185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E185B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E185B#FFFFFF#000000##FFFFFF
##3E185B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#062B5A
Tritanopia (blue-blind)
#392737
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e185b;
/* rgb */ color: rgb(62, 24, 91);
/* oklch */ color: oklch(30.4% 0.116 306.7);
Tailwind
colors: {
  custom: {
    50: '#76588a',
    500: '#3e185b',
    950: '#000000',
  },
}
SCSS
$custom: #3e185b;
$custom-light: #76588a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e185b",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 274.03,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30381,
    "c": 0.11572,
    "h": 306.7
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#3E185B
secondary
#62923D
accent
#E14689
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E185B

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

Preview Lab → · Contrast checker → · Palette generator →

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