#3D123E#3D123E

#3D123E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.092 H 326.8°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3D123E
RGBrgb(61, 18, 62)
HSLhsl(299, 55%, 16%)
HSVhsv(299, 71%, 24%)
CMYKcmyk(1.6%, 71%, 0%, 75.7%)
CIE-LABlab(14.25, 27.82, -18.21)
CIE-LCHlch(14.25, 33.25, 326.80°)
OKLaboklab(27.26% 0.077 -0.0503)
OKLCHoklch(27.26% 0.092 326.8)
XYZxyz(3.0102, 1.7727, 4.7401)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D123E #133E12
analogous
#27123E #3D123E #3E1229
triadic
#3D123E #3E3D12 #123E3D
tetradic
#3D123E #3E2712 #133E12 #12293E
square
#3D123E #3E2712 #133E12 #12293E
split-complementary
#3D123E #293E12 #123E27
monochromatic
#170718 #170718 #3D123E #6C206D #9A2E9D

Accessibility & contrast

On white

15.50
#3D123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D123E
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D123E#FFFFFF#000000##FFFFFF
##3D123E1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C213F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#3F1826
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d123e;
/* rgb */ color: rgb(61, 18, 62);
/* oklch */ color: oklch(27.3% 0.092 326.8);
Tailwind
colors: {
  custom: {
    50: '#745373',
    500: '#3d123e',
    950: '#000000',
  },
}
SCSS
$custom: #3d123e;
$custom-light: #745373;
$custom-dark: #000000;
JSON
{
  "hex": "#3d123e",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 298.636,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27259,
    "c": 0.09199,
    "h": 326.8
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#3D123E
secondary
#367735
accent
#DE494D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D123E

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

Preview Lab → · Contrast checker → · Palette generator →

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