#3E175C#3E175C

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

Color values

HEX#3E175C
RGBrgb(62, 23, 92)
HSLhsl(274, 60%, 23%)
HSVhsv(274, 75%, 36%)
CMYKcmyk(32.6%, 75%, 0%, 63.9%)
CIE-LABlab(17.51, 32.69, -33.55)
CIE-LCHlch(17.51, 46.85, 314.25°)
OKLaboklab(30.33% 0.0702 -0.0952)
OKLCHoklch(30.33% 0.118 306.4)
XYZxyz(4.2244, 2.4097, 10.3657)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E175C #355C17
analogous
#1B175C #3E175C #5C1757
triadic
#3E175C #5C3E17 #175C3E
tetradic
#3E175C #5C1B17 #355C17 #17575C
square
#3E175C #5C1B17 #355C17 #17575C
split-complementary
#3E175C #575C17 #175C1B
monochromatic
#100618 #1D0B2B #3E175C #5F238D #802FBE

Accessibility & contrast

On white

14.17
#3E175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E175C
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E175C#FFFFFF#000000##FFFFFF
##3E175C1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#022B5B
Tritanopia (blue-blind)
#392737
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e175c;
/* rgb */ color: rgb(62, 23, 92);
/* oklch */ color: oklch(30.3% 0.118 306.4);
Tailwind
colors: {
  custom: {
    50: '#77588b',
    500: '#3e175c',
    950: '#000000',
  },
}
SCSS
$custom: #3e175c;
$custom-light: #77588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e175c",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 273.913,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3033,
    "c": 0.11833,
    "h": 306.4
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#3E175C
secondary
#62933C
accent
#E3458A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E175C

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

Preview Lab → · Contrast checker → · Palette generator →

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