#3D0F5F#3D0F5F

#3D0F5F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.131 H 305.6°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#3D0F5F
RGBrgb(61, 15, 95)
HSLhsl(275, 73%, 22%)
HSVhsv(275, 84%, 37%)
CMYKcmyk(35.8%, 84.2%, 0%, 62.7%)
CIE-LABlab(16.31, 36.96, -37.51)
CIE-LCHlch(16.31, 52.66, 314.58°)
OKLaboklab(29.53% 0.0764 -0.1068)
OKLCHoklch(29.53% 0.131 305.6)
XYZxyz(4.1604, 2.1600, 11.0220)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F5F #315F0F
analogous
#150F5F #3D0F5F #5F0F59
triadic
#3D0F5F #5F3D0F #0F5F3D
tetradic
#3D0F5F #5F150F #315F0F #0F595F
square
#3D0F5F #5F150F #315F0F #0F595F
split-complementary
#3D0F5F #595F0F #0F5F15
monochromatic
#11041A #1B072A #3D0F5F #5F1794 #8120C9

Accessibility & contrast

On white

14.66
#3D0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F5F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F5F#FFFFFF#000000##FFFFFF
##3D0F5F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#372437
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0f5f;
/* rgb */ color: rgb(61, 15, 95);
/* oklch */ color: oklch(29.5% 0.131 305.6);
Tailwind
colors: {
  custom: {
    50: '#77548d',
    500: '#3d0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f5f;
$custom-light: #77548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f5f",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 274.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.13133,
    "h": 305.6
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#3D0F5F
secondary
#5D9832
accent
#EF3886
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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