#3D125B#3D125B

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

Color values

HEX#3D125B
RGBrgb(61, 18, 91)
HSLhsl(275, 67%, 21%)
HSVhsv(275, 80%, 36%)
CMYKcmyk(33%, 80.2%, 0%, 64.3%)
CIE-LABlab(16.41, 34.65, -34.68)
CIE-LCHlch(16.41, 49.02, 314.98°)
OKLaboklab(29.49% 0.0745 -0.0985)
OKLCHoklch(29.49% 0.124 307.1)
XYZxyz(4.0287, 2.1801, 10.1041)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D125B #305B12
analogous
#19125B #3D125B #5B1255
triadic
#3D125B #5B3D12 #125B3D
tetradic
#3D125B #5B1912 #305B12 #12555B
square
#3D125B #5B1912 #305B12 #12555B
split-complementary
#3D125B #555B12 #125B19
monochromatic
#11051A #1B0828 #3D125B #5F1C8E #8126C1

Accessibility & contrast

On white

14.62
#3D125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D125B
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D125B#FFFFFF#000000##FFFFFF
##3D125B1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d125b;
/* rgb */ color: rgb(61, 18, 91);
/* oklch */ color: oklch(29.5% 0.124 307.1);
Tailwind
colors: {
  custom: {
    50: '#76558a',
    500: '#3d125b',
    950: '#000000',
  },
}
SCSS
$custom: #3d125b;
$custom-light: #76558a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d125b",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 275.342,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29491,
    "c": 0.12351,
    "h": 307.1
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#3D125B
secondary
#5C9335
accent
#EA3E85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D125B

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

Preview Lab → · Contrast checker → · Palette generator →

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