#3D0F76#3D0F76

#3D0F76 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.8% C 0.156 H 296.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#3D0F76
RGBrgb(61, 15, 118)
HSLhsl(267, 77%, 26%)
HSVhsv(267, 87%, 46%)
CMYKcmyk(48.3%, 87.3%, 0%, 53.7%)
CIE-LABlab(18.55, 42.88, -48.89)
CIE-LCHlch(18.55, 65.03, 311.25°)
OKLaboklab(31.77% 0.0684 -0.1402)
OKLCHoklch(31.77% 0.156 296)
XYZxyz(5.3644, 2.6416, 17.3633)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F76 #48760F
analogous
#0F1476 #3D0F76 #700F76
triadic
#3D0F76 #763D0F #0F763D
tetradic
#3D0F76 #760F14 #48760F #0F7670
square
#3D0F76 #760F14 #48760F #0F7670
split-complementary
#3D0F76 #76700F #14760F
monochromatic
#0E031B #210840 #3D0F76 #5916AC #751DE2

Accessibility & contrast

On white

13.74
#3D0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F76
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F76#FFFFFF#000000##FFFFFF
##3D0F761.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#2D2E44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d0f76;
/* rgb */ color: rgb(61, 15, 118);
/* oklch */ color: oklch(31.8% 0.156 296.0);
Tailwind
colors: {
  custom: {
    50: '#7a559e',
    500: '#3d0f76',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f76;
$custom-light: #7a559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f76",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 266.796,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3177,
    "c": 0.15601,
    "h": 296
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#3D0F76
secondary
#77AD33
accent
#F4349E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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