#3D1058#3D1058

#3D1058 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.123 H 309.0°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3D1058
RGBrgb(61, 16, 88)
HSLhsl(278, 69%, 20%)
HSVhsv(278, 82%, 35%)
CMYKcmyk(30.7%, 81.8%, 0%, 65.5%)
CIE-LABlab(15.84, 34.80, -33.58)
CIE-LCHlch(15.84, 48.36, 316.02°)
OKLaboklab(29.01% 0.0772 -0.0953)
OKLCHoklch(29.01% 0.123 309)
XYZxyz(3.8709, 2.0673, 9.4257)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1058 #2B5810
analogous
#191058 #3D1058 #58104F
triadic
#3D1058 #583D10 #10583D
tetradic
#3D1058 #581910 #2B5810 #104F58
square
#3D1058 #581910 #2B5810 #104F58
split-complementary
#3D1058 #4F5810 #105819
monochromatic
#12051A #190724 #3D1058 #61198C #8523C0

Accessibility & contrast

On white

14.86
#3D1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1058
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1058#FFFFFF#000000##FFFFFF
##3D10581.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#392133
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1058;
/* rgb */ color: rgb(61, 16, 88);
/* oklch */ color: oklch(29.0% 0.123 309.0);
Tailwind
colors: {
  custom: {
    50: '#765488',
    500: '#3d1058',
    950: '#000000',
  },
}
SCSS
$custom: #3d1058;
$custom-light: #765488;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1058",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 277.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.12265,
    "h": 309
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#3D1058
secondary
#569132
accent
#EC3C7E
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1058

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

Preview Lab → · Contrast checker → · Palette generator →

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