#3E195E#3E195E

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

Color values

HEX#3E195E
RGBrgb(62, 25, 94)
HSLhsl(272, 58%, 23%)
HSVhsv(272, 73%, 37%)
CMYKcmyk(34%, 73.4%, 0%, 63.1%)
CIE-LABlab(18.04, 32.17, -34.02)
CIE-LCHlch(18.04, 46.82, 313.40°)
OKLaboklab(30.76% 0.0675 -0.0966)
OKLCHoklch(30.76% 0.118 305)
XYZxyz(4.3542, 2.5276, 10.8460)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E195E #395E19
analogous
#1B195E #3E195E #5E195B
triadic
#3E195E #5E3E19 #195E3E
tetradic
#3E195E #5E1B19 #395E19 #195B5E
square
#3E195E #5E1B19 #395E19 #195B5E
split-complementary
#3E195E #5B5E19 #195E1B
monochromatic
#100618 #1E0C2E #3E195E #5E268E #7E33BF

Accessibility & contrast

On white

13.95
#3E195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E195E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E195E#FFFFFF#000000##FFFFFF
##3E195E1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e195e;
/* rgb */ color: rgb(62, 25, 94);
/* oklch */ color: oklch(30.8% 0.118 305.0);
Tailwind
colors: {
  custom: {
    50: '#77598c',
    500: '#3e195e',
    950: '#000000',
  },
}
SCSS
$custom: #3e195e;
$custom-light: #77598c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e195e",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 272.174,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30765,
    "c": 0.11786,
    "h": 305
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#3E195E
secondary
#66943F
accent
#E1478E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E195E

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

Preview Lab → · Contrast checker → · Palette generator →

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