#3D123C#3D123C

#3D123C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.1% C 0.090 H 328.6°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#3D123C
RGBrgb(61, 18, 60)
HSLhsl(301, 54%, 15%)
HSVhsv(301, 70%, 24%)
CMYKcmyk(0%, 70.5%, 1.6%, 76.1%)
CIE-LABlab(14.12, 27.40, -16.99)
CIE-LCHlch(14.12, 32.24, 328.21°)
OKLaboklab(27.13% 0.0768 -0.0468)
OKLCHoklch(27.13% 0.09 328.6)
XYZxyz(2.9564, 1.7512, 4.4564)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D123C #123D13
analogous
#28123D #3D123C #3D1226
triadic
#3D123C #3C3D12 #123C3D
tetradic
#3D123C #3D2812 #123D13 #12263D
square
#3D123C #3D2812 #123D13 #12263D
split-complementary
#3D123C #263D12 #123D28
monochromatic
#180717 #180717 #3D123C #6C206A #9C2E99

Accessibility & contrast

On white

15.55
#3D123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D123C
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D123C#FFFFFF#000000##FFFFFF
##3D123C1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203D
Deuteranopia (green-blind)
#1D263B
Tritanopia (blue-blind)
#3F1725
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d123c;
/* rgb */ color: rgb(61, 18, 60);
/* oklch */ color: oklch(27.1% 0.090 328.6);
Tailwind
colors: {
  custom: {
    50: '#745372',
    500: '#3d123c',
    950: '#000000',
  },
}
SCSS
$custom: #3d123c;
$custom-light: #745372;
$custom-dark: #000000;
JSON
{
  "hex": "#3d123c",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 301.395,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2713,
    "c": 0.08996,
    "h": 328.6
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#3D123C
secondary
#357636
accent
#DE4D4A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D123C

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

Preview Lab → · Contrast checker → · Palette generator →

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