#3D123D#3D123D

#3D123D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.091 H 327.7°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#3D123D
RGBrgb(61, 18, 61)
HSLhsl(300, 54%, 15%)
HSVhsv(300, 70%, 24%)
CMYKcmyk(0%, 70.5%, 0%, 76.1%)
CIE-LABlab(14.18, 27.61, -17.60)
CIE-LCHlch(14.18, 32.74, 327.49°)
OKLaboklab(27.19% 0.0769 -0.0486)
OKLCHoklch(27.19% 0.091 327.7)
XYZxyz(2.9830, 1.7618, 4.5969)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D123D #123D12
analogous
#27123D #3D123D #3D1227
triadic
#3D123D #3D3D12 #123D3D
tetradic
#3D123D #3D2712 #123D12 #12273D
square
#3D123D #3D2712 #123D12 #12273D
split-complementary
#3D123D #273D12 #123D27
monochromatic
#180718 #180718 #3D123D #6C206C #9C2E9C

Accessibility & contrast

On white

15.53
#3D123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D123D
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D123D#FFFFFF#000000##FFFFFF
##3D123D1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203E
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#3F1825
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d123d;
/* rgb */ color: rgb(61, 18, 61);
/* oklch */ color: oklch(27.2% 0.091 327.7);
Tailwind
colors: {
  custom: {
    50: '#745372',
    500: '#3d123d',
    950: '#000000',
  },
}
SCSS
$custom: #3d123d;
$custom-light: #745372;
$custom-dark: #000000;
JSON
{
  "hex": "#3d123d",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 300,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27194,
    "c": 0.09097,
    "h": 327.7
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#3D123D
secondary
#357635
accent
#DE4A4A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D123D

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

Preview Lab → · Contrast checker → · Palette generator →

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