#3D123F#3D123F

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

Color values

HEX#3D123F
RGBrgb(61, 18, 63)
HSLhsl(297, 56%, 16%)
HSVhsv(297, 71%, 25%)
CMYKcmyk(3.2%, 71.4%, 0%, 75.3%)
CIE-LABlab(14.31, 28.03, -18.81)
CIE-LCHlch(14.31, 33.76, 326.13°)
OKLaboklab(27.33% 0.0771 -0.0521)
OKLCHoklch(27.33% 0.093 325.9)
XYZxyz(3.0379, 1.7838, 4.8860)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D123F #143F12
analogous
#26123F #3D123F #3F122A
triadic
#3D123F #3F3D12 #123F3D
tetradic
#3D123F #3F2612 #143F12 #122A3F
square
#3D123F #3F2612 #143F12 #122A3F
split-complementary
#3D123F #2A3F12 #123F26
monochromatic
#170718 #170718 #3D123F #6B206F #992D9E

Accessibility & contrast

On white

15.48
#3D123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3D123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D123F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D123F#FFFFFF#000000##FFFFFF
##3D123F1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d123f;
/* rgb */ color: rgb(61, 18, 63);
/* oklch */ color: oklch(27.3% 0.093 325.9);
Tailwind
colors: {
  custom: {
    50: '#745474',
    500: '#3d123f',
    950: '#000000',
  },
}
SCSS
$custom: #3d123f;
$custom-light: #745474;
$custom-dark: #000000;
JSON
{
  "hex": "#3d123f",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 297.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27325,
    "c": 0.09302,
    "h": 325.9
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#3D123F
secondary
#387835
accent
#DF4950
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D123F

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

Preview Lab → · Contrast checker → · Palette generator →

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