#3D1059#3D1059

#3D1059 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.124 H 308.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3D1059
RGBrgb(61, 16, 89)
HSLhsl(277, 70%, 21%)
HSVhsv(277, 82%, 35%)
CMYKcmyk(31.5%, 82%, 0%, 65.1%)
CIE-LABlab(15.92, 35.05, -34.12)
CIE-LCHlch(15.92, 48.91, 315.77°)
OKLaboklab(29.1% 0.077 -0.0969)
OKLCHoklch(29.1% 0.124 308.5)
XYZxyz(3.9126, 2.0840, 9.6454)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1059 #2C5910
analogous
#181059 #3D1059 #591050
triadic
#3D1059 #593D10 #10593D
tetradic
#3D1059 #591810 #2C5910 #105059
square
#3D1059 #591810 #2C5910 #105059
split-complementary
#3D1059 #505910 #105918
monochromatic
#12051A #190725 #3D1059 #61198D #8423C1

Accessibility & contrast

On white

14.82
#3D1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3D1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1059
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1059#FFFFFF#000000##FFFFFF
##3D10591.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#392234
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d1059;
/* rgb */ color: rgb(61, 16, 89);
/* oklch */ color: oklch(29.1% 0.124 308.5);
Tailwind
colors: {
  custom: {
    50: '#765488',
    500: '#3d1059',
    950: '#000000',
  },
}
SCSS
$custom: #3d1059;
$custom-light: #765488;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1059",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 276.986,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29097,
    "c": 0.12374,
    "h": 308.5
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#3D1059
secondary
#579233
accent
#EC3B7F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1059

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

Preview Lab → · Contrast checker → · Palette generator →

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