#3E185E#3E185E

#3E185E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.119 H 305.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#3E185E
RGBrgb(62, 24, 94)
HSLhsl(273, 59%, 23%)
HSVhsv(273, 74%, 37%)
CMYKcmyk(34%, 74.5%, 0%, 63.1%)
CIE-LABlab(17.85, 32.70, -34.32)
CIE-LCHlch(17.85, 47.41, 313.61°)
OKLaboklab(30.63% 0.0687 -0.0975)
OKLCHoklch(30.63% 0.119 305.2)
XYZxyz(4.3332, 2.4856, 10.8390)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E185E #385E18
analogous
#1B185E #3E185E #5E185B
triadic
#3E185E #5E3E18 #185E3E
tetradic
#3E185E #5E1B18 #385E18 #185B5E
square
#3E185E #5E1B18 #385E18 #185B5E
split-complementary
#3E185E #5B5E18 #185E1B
monochromatic
#100618 #1E0C2D #3E185E #5E248F #7E31C0

Accessibility & contrast

On white

14.03
#3E185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E185E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E185E#FFFFFF#000000##FFFFFF
##3E185E1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e185e;
/* rgb */ color: rgb(62, 24, 94);
/* oklch */ color: oklch(30.6% 0.119 305.2);
Tailwind
colors: {
  custom: {
    50: '#77588c',
    500: '#3e185e',
    950: '#000000',
  },
}
SCSS
$custom: #3e185e;
$custom-light: #77588c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e185e",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 272.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30629,
    "c": 0.11928,
    "h": 305.2
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#3E185E
secondary
#65943D
accent
#E3458D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E185E

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

Preview Lab → · Contrast checker → · Palette generator →

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