#3D1054#3D1054

#3D1054 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.118 H 311.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3D1054
RGBrgb(61, 16, 84)
HSLhsl(280, 68%, 20%)
HSVhsv(280, 81%, 33%)
CMYKcmyk(27.4%, 81%, 0%, 67.1%)
CIE-LABlab(15.50, 33.82, -31.42)
CIE-LCHlch(15.50, 46.16, 317.11°)
OKLaboklab(28.67% 0.0781 -0.0889)
OKLCHoklch(28.67% 0.118 311.3)
XYZxyz(3.7097, 2.0029, 8.5770)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1054 #275410
analogous
#1B1054 #3D1054 #541049
triadic
#3D1054 #543D10 #10543D
tetradic
#3D1054 #541B10 #275410 #104954
square
#3D1054 #541B10 #275410 #104954
split-complementary
#3D1054 #495410 #10541B
monochromatic
#13051A #180621 #3D1054 #621A87 #8824BB

Accessibility & contrast

On white

14.99
#3D1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1054
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1054#FFFFFF#000000##FFFFFF
##3D10541.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#052853
Tritanopia (blue-blind)
#3A2031
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1054;
/* rgb */ color: rgb(61, 16, 84);
/* oklch */ color: oklch(28.7% 0.118 311.3);
Tailwind
colors: {
  custom: {
    50: '#765485',
    500: '#3d1054',
    950: '#000000',
  },
}
SCSS
$custom: #3d1054;
$custom-light: #765485;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1054",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 279.706,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28669,
    "c": 0.11834,
    "h": 311.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#3D1054
secondary
#518E32
accent
#EB3D78
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1054

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

Preview Lab → · Contrast checker → · Palette generator →

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