#3E125C#3E125C

#3E125C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.125 H 307.4°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#3E125C
RGBrgb(62, 18, 92)
HSLhsl(276, 67%, 22%)
HSVhsv(276, 80%, 36%)
CMYKcmyk(32.6%, 80.4%, 0%, 63.9%)
CIE-LABlab(16.65, 35.12, -34.94)
CIE-LCHlch(16.65, 49.54, 315.14°)
OKLaboklab(29.72% 0.0758 -0.0993)
OKLCHoklch(29.72% 0.125 307.4)
XYZxyz(4.1343, 2.2295, 10.3357)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E125C #305C12
analogous
#19125C #3E125C #5C1255
triadic
#3E125C #5C3E12 #125C3E
tetradic
#3E125C #5C1912 #305C12 #12555C
square
#3E125C #5C1912 #305C12 #12555C
split-complementary
#3E125C #555C12 #125C19
monochromatic
#11051A #1C0829 #3E125C #601C8F #8326C2

Accessibility & contrast

On white

14.52
#3E125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E125C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E125C#FFFFFF#000000##FFFFFF
##3E125C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#392436
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e125c;
/* rgb */ color: rgb(62, 18, 92);
/* oklch */ color: oklch(29.7% 0.125 307.4);
Tailwind
colors: {
  custom: {
    50: '#77558b',
    500: '#3e125c',
    950: '#000000',
  },
}
SCSS
$custom: #3e125c;
$custom-light: #77558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e125c",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 275.676,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.12491,
    "h": 307.4
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#3E125C
secondary
#5C9435
accent
#EA3E84
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E125C

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

Preview Lab → · Contrast checker → · Palette generator →

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