#3E125B#3E125B

#3E125B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.124 H 307.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3E125B
RGBrgb(62, 18, 91)
HSLhsl(276, 67%, 21%)
HSVhsv(276, 80%, 36%)
CMYKcmyk(31.9%, 80.2%, 0%, 64.3%)
CIE-LABlab(16.56, 34.87, -34.41)
CIE-LCHlch(16.56, 48.99, 315.37°)
OKLaboklab(29.64% 0.076 -0.0977)
OKLCHoklch(29.64% 0.124 307.9)
XYZxyz(4.0908, 2.2121, 10.1070)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E125B #2F5B12
analogous
#1A125B #3E125B #5B1254
triadic
#3E125B #5B3E12 #125B3E
tetradic
#3E125B #5B1A12 #2F5B12 #12545B
square
#3E125B #5B1A12 #2F5B12 #12545B
split-complementary
#3E125B #545B12 #125B1A
monochromatic
#11051A #1B0828 #3E125B #611C8E #8426C1

Accessibility & contrast

On white

14.56
#3E125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E125B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E125B#FFFFFF#000000##FFFFFF
##3E125B1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#392435
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e125b;
/* rgb */ color: rgb(62, 18, 91);
/* oklch */ color: oklch(29.6% 0.124 307.9);
Tailwind
colors: {
  custom: {
    50: '#77558a',
    500: '#3e125b',
    950: '#000000',
  },
}
SCSS
$custom: #3e125b;
$custom-light: #77558a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e125b",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 276.164,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.12381,
    "h": 307.9
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#3E125B
secondary
#5B9335
accent
#EA3E82
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E125B

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

Preview Lab → · Contrast checker → · Palette generator →

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