#3D123A#3D123A

#3D123A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.088 H 330.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#3D123A
RGBrgb(61, 18, 58)
HSLhsl(304, 54%, 15%)
HSVhsv(304, 70%, 24%)
CMYKcmyk(0%, 70.5%, 4.9%, 76.1%)
CIE-LABlab(14.00, 26.99, -15.76)
CIE-LCHlch(14.00, 31.26, 329.73°)
OKLaboklab(27% 0.0766 -0.0433)
OKLCHoklch(27% 0.088 330.5)
XYZxyz(2.9045, 1.7304, 4.1832)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D123A #123D15
analogous
#2A123D #3D123A #3D1224
triadic
#3D123A #3A3D12 #123A3D
tetradic
#3D123A #3D2A12 #123D15 #12243D
square
#3D123A #3D2A12 #123D15 #12243D
split-complementary
#3D123A #243D12 #123D2A
monochromatic
#180716 #180716 #3D123A #6C2067 #9C2E94

Accessibility & contrast

On white

15.60
#3D123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D123A
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D123A#FFFFFF#000000##FFFFFF
##3D123A1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203B
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#401624
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d123a;
/* rgb */ color: rgb(61, 18, 58);
/* oklch */ color: oklch(27.0% 0.088 330.5);
Tailwind
colors: {
  custom: {
    50: '#745370',
    500: '#3d123a',
    950: '#000000',
  },
}
SCSS
$custom: #3d123a;
$custom-light: #745370;
$custom-dark: #000000;
JSON
{
  "hex": "#3d123a",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 304.186,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27004,
    "c": 0.08796,
    "h": 330.5
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#3D123A
secondary
#357639
accent
#DE544A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3D123A

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

Preview Lab → · Contrast checker → · Palette generator →

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