#3E185D#3E185D

#3E185D is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.118 H 305.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#3E185D
RGBrgb(62, 24, 93)
HSLhsl(273, 59%, 23%)
HSVhsv(273, 74%, 36%)
CMYKcmyk(33.3%, 74.2%, 0%, 63.5%)
CIE-LABlab(17.77, 32.44, -33.79)
CIE-LCHlch(17.77, 46.84, 313.83°)
OKLaboklab(30.55% 0.0689 -0.0959)
OKLCHoklch(30.55% 0.118 305.7)
XYZxyz(4.2886, 2.4677, 10.6042)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E185D #375D18
analogous
#1B185D #3E185D #5D1859
triadic
#3E185D #5D3E18 #185D3E
tetradic
#3E185D #5D1B18 #375D18 #18595D
square
#3E185D #5D1B18 #375D18 #18595D
split-complementary
#3E185D #595D18 #185D1B
monochromatic
#100618 #1E0B2C #3E185D #5E258E #7F31BE

Accessibility & contrast

On white

14.06
#3E185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E185D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E185D#FFFFFF#000000##FFFFFF
##3E185D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#022C5C
Tritanopia (blue-blind)
#382838
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e185d;
/* rgb */ color: rgb(62, 24, 93);
/* oklch */ color: oklch(30.5% 0.118 305.7);
Tailwind
colors: {
  custom: {
    50: '#77588b',
    500: '#3e185d',
    950: '#000000',
  },
}
SCSS
$custom: #3e185d;
$custom-light: #77588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e185d",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 273.043,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.1181,
    "h": 305.7
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#3E185D
secondary
#64933D
accent
#E2468C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E185D

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

Preview Lab → · Contrast checker → · Palette generator →

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