#3E125E#3E125E

#3E125E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.127 H 306.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#3E125E
RGBrgb(62, 18, 94)
HSLhsl(275, 68%, 22%)
HSVhsv(275, 81%, 37%)
CMYKcmyk(34%, 80.9%, 0%, 63.1%)
CIE-LABlab(16.82, 35.62, -36.00)
CIE-LCHlch(16.82, 50.65, 314.70°)
OKLaboklab(29.9% 0.0753 -0.1024)
OKLCHoklch(29.9% 0.127 306.3)
XYZxyz(4.2229, 2.2649, 10.8022)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E125E #325E12
analogous
#18125E #3E125E #5E1258
triadic
#3E125E #5E3E12 #125E3E
tetradic
#3E125E #5E1812 #325E12 #12585E
square
#3E125E #5E1812 #325E12 #12585E
split-complementary
#3E125E #585E12 #125E18
monochromatic
#11051A #1C082B #3E125E #601C91 #8226C5

Accessibility & contrast

On white

14.45
#3E125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E125E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E125E#FFFFFF#000000##FFFFFF
##3E125E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#382537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e125e;
/* rgb */ color: rgb(62, 18, 94);
/* oklch */ color: oklch(29.9% 0.127 306.3);
Tailwind
colors: {
  custom: {
    50: '#77558c',
    500: '#3e125e',
    950: '#000000',
  },
}
SCSS
$custom: #3e125e;
$custom-light: #77558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e125e",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 274.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29897,
    "c": 0.12711,
    "h": 306.3
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#3E125E
secondary
#5E9635
accent
#EB3D86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E125E

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

Preview Lab → · Contrast checker → · Palette generator →

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