#3E185A#3E185A

#3E185A is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.3% C 0.115 H 307.2°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#3E185A
RGBrgb(62, 24, 90)
HSLhsl(275, 58%, 22%)
HSVhsv(275, 73%, 35%)
CMYKcmyk(31.1%, 73.3%, 0%, 64.7%)
CIE-LABlab(17.53, 31.65, -32.17)
CIE-LCHlch(17.53, 45.13, 314.53°)
OKLaboklab(30.3% 0.0693 -0.0912)
OKLCHoklch(30.3% 0.115 307.2)
XYZxyz(4.1583, 2.4156, 9.9181)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E185A #345A18
analogous
#1D185A #3E185A #5A1855
triadic
#3E185A #5A3E18 #185A3E
tetradic
#3E185A #5A1D18 #345A18 #18555A
square
#3E185A #5A1D18 #345A18 #18555A
split-complementary
#3E185A #555A18 #185A1D
monochromatic
#110618 #1D0B2A #3E185A #5F258A #8132BB

Accessibility & contrast

On white

14.16
#3E185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E185A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E185A#FFFFFF#000000##FFFFFF
##3E185A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#072B59
Tritanopia (blue-blind)
#392637
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e185a;
/* rgb */ color: rgb(62, 24, 90);
/* oklch */ color: oklch(30.3% 0.115 307.2);
Tailwind
colors: {
  custom: {
    50: '#765889',
    500: '#3e185a',
    950: '#000000',
  },
}
SCSS
$custom: #3e185a;
$custom-light: #765889;
$custom-dark: #000000;
JSON
{
  "hex": "#3e185a",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 274.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30299,
    "c": 0.11453,
    "h": 307.2
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#3E185A
secondary
#61913D
accent
#E14788
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E185A

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

Preview Lab → · Contrast checker → · Palette generator →

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