#3D125A#3D125A

#3D125A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.122 H 307.6°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#3D125A
RGBrgb(61, 18, 90)
HSLhsl(276, 67%, 21%)
HSVhsv(276, 80%, 35%)
CMYKcmyk(32.2%, 80%, 0%, 64.7%)
CIE-LABlab(16.32, 34.40, -34.14)
CIE-LCHlch(16.32, 48.47, 315.21°)
OKLaboklab(29.4% 0.0747 -0.097)
OKLCHoklch(29.4% 0.122 307.6)
XYZxyz(3.9858, 2.1630, 9.8784)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D125A #2F5A12
analogous
#19125A #3D125A #5A1253
triadic
#3D125A #5A3D12 #125A3D
tetradic
#3D125A #5A1912 #2F5A12 #12535A
square
#3D125A #5A1912 #2F5A12 #12535A
split-complementary
#3D125A #535A12 #125A19
monochromatic
#11051A #1A0827 #3D125A #601C8D #8226C0

Accessibility & contrast

On white

14.66
#3D125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D125A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D125A#FFFFFF#000000##FFFFFF
##3D125A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#382335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d125a;
/* rgb */ color: rgb(61, 18, 90);
/* oklch */ color: oklch(29.4% 0.122 307.6);
Tailwind
colors: {
  custom: {
    50: '#765589',
    500: '#3d125a',
    950: '#000000',
  },
}
SCSS
$custom: #3d125a;
$custom-light: #765589;
$custom-dark: #000000;
JSON
{
  "hex": "#3d125a",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 275.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29404,
    "c": 0.1224,
    "h": 307.6
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#3D125A
secondary
#5B9335
accent
#EA3E83
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D125A

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

Preview Lab → · Contrast checker → · Palette generator →

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