#3D125C#3D125C

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

Color values

HEX#3D125C
RGBrgb(61, 18, 92)
HSLhsl(275, 67%, 22%)
HSVhsv(275, 80%, 36%)
CMYKcmyk(33.7%, 80.4%, 0%, 63.9%)
CIE-LABlab(16.49, 34.91, -35.21)
CIE-LCHlch(16.49, 49.58, 314.76°)
OKLaboklab(29.58% 0.0742 -0.1001)
OKLCHoklch(29.58% 0.125 306.6)
XYZxyz(4.0721, 2.1975, 10.3328)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D125C #315C12
analogous
#18125C #3D125C #5C1256
triadic
#3D125C #5C3D12 #125C3D
tetradic
#3D125C #5C1812 #315C12 #12565C
square
#3D125C #5C1812 #315C12 #12565C
split-complementary
#3D125C #565C12 #125C18
monochromatic
#11051A #1B0829 #3D125C #5F1C8F #8126C2

Accessibility & contrast

On white

14.59
#3D125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D125C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D125C#FFFFFF#000000##FFFFFF
##3D125C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d125c;
/* rgb */ color: rgb(61, 18, 92);
/* oklch */ color: oklch(29.6% 0.125 306.6);
Tailwind
colors: {
  custom: {
    50: '#76558b',
    500: '#3d125c',
    950: '#000000',
  },
}
SCSS
$custom: #3d125c;
$custom-light: #76558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d125c",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 274.865,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29578,
    "c": 0.12462,
    "h": 306.6
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#3D125C
secondary
#5D9435
accent
#EA3E86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D125C

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

Preview Lab → · Contrast checker → · Palette generator →

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