#3D124F#3D124F

#3D124F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.110 H 314.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3D124F
RGBrgb(61, 18, 79)
HSLhsl(282, 63%, 19%)
HSVhsv(282, 77%, 31%)
CMYKcmyk(22.8%, 77.2%, 0%, 69%)
CIE-LABlab(15.43, 31.68, -28.13)
CIE-LCHlch(15.43, 42.37, 318.40°)
OKLaboklab(28.49% 0.0766 -0.0793)
OKLCHoklch(28.49% 0.11 314)
XYZxyz(3.5518, 1.9893, 7.5925)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D124F #244F12
analogous
#1F124F #3D124F #4F1243
triadic
#3D124F #4F3D12 #124F3D
tetradic
#3D124F #4F1F12 #244F12 #12434F
square
#3D124F #4F1F12 #244F12 #12434F
split-complementary
#3D124F #434F12 #124F1F
monochromatic
#130619 #17071D #3D124F #631D81 #8A29B3

Accessibility & contrast

On white

15.02
#3D124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D124F
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D124F#FFFFFF#000000##FFFFFF
##3D124F1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#0E284E
Tritanopia (blue-blind)
#3B1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d124f;
/* rgb */ color: rgb(61, 18, 79);
/* oklch */ color: oklch(28.5% 0.110 314.0);
Tailwind
colors: {
  custom: {
    50: '#755481',
    500: '#3d124f',
    950: '#000000',
  },
}
SCSS
$custom: #3d124f;
$custom-light: #755481;
$custom-dark: #000000;
JSON
{
  "hex": "#3d124f",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 282.295,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28492,
    "c": 0.11022,
    "h": 314
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#3D124F
secondary
#4D8835
accent
#E64272
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D124F

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

Preview Lab → · Contrast checker → · Palette generator →

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