#3E125D#3E125D

#3E125D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.126 H 306.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#3E125D
RGBrgb(62, 18, 93)
HSLhsl(275, 68%, 22%)
HSVhsv(275, 81%, 36%)
CMYKcmyk(33.3%, 80.6%, 0%, 63.5%)
CIE-LABlab(16.73, 35.37, -35.47)
CIE-LCHlch(16.73, 50.09, 314.92°)
OKLaboklab(29.81% 0.0756 -0.1008)
OKLCHoklch(29.81% 0.126 306.9)
XYZxyz(4.1783, 2.2471, 10.5674)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E125D #315D12
analogous
#19125D #3E125D #5D1257
triadic
#3E125D #5D3E12 #125D3E
tetradic
#3E125D #5D1912 #315D12 #12575D
square
#3E125D #5D1912 #315D12 #12575D
split-complementary
#3E125D #575D12 #125D19
monochromatic
#11051A #1C082A #3E125D #601C90 #8226C4

Accessibility & contrast

On white

14.49
#3E125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E125D
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E125D#FFFFFF#000000##FFFFFF
##3E125D1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#392437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e125d;
/* rgb */ color: rgb(62, 18, 93);
/* oklch */ color: oklch(29.8% 0.126 306.9);
Tailwind
colors: {
  custom: {
    50: '#77558b',
    500: '#3e125d',
    950: '#000000',
  },
}
SCSS
$custom: #3e125d;
$custom-light: #77558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e125d",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 275.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.12601,
    "h": 306.9
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#3E125D
secondary
#5D9535
accent
#EA3D85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E125D

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

Preview Lab → · Contrast checker → · Palette generator →

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