#3D0F5E#3D0F5E

#3D0F5E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.130 H 306.0°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#3D0F5E
RGBrgb(61, 15, 94)
HSLhsl(275, 72%, 21%)
HSVhsv(275, 84%, 37%)
CMYKcmyk(35.1%, 84%, 0%, 63.1%)
CIE-LABlab(16.21, 36.71, -36.99)
CIE-LCHlch(16.21, 52.12, 314.78°)
OKLaboklab(29.44% 0.0767 -0.1053)
OKLCHoklch(29.44% 0.13 306)
XYZxyz(4.1152, 2.1419, 10.7841)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F5E #305E0F
analogous
#160F5E #3D0F5E #5E0F58
triadic
#3D0F5E #5E3D0F #0F5E3D
tetradic
#3D0F5E #5E160F #305E0F #0F585E
square
#3D0F5E #5E160F #305E0F #0F585E
split-complementary
#3D0F5E #585E0F #0F5E16
monochromatic
#11041A #1B0729 #3D0F5E #5F1793 #8220C8

Accessibility & contrast

On white

14.70
#3D0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F5E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F5E#FFFFFF#000000##FFFFFF
##3D0F5E1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#372436
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d0f5e;
/* rgb */ color: rgb(61, 15, 94);
/* oklch */ color: oklch(29.4% 0.130 306.0);
Tailwind
colors: {
  custom: {
    50: '#77548c',
    500: '#3d0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f5e;
$custom-light: #77548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f5e",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 274.937,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2944,
    "c": 0.13025,
    "h": 306
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#3D0F5E
secondary
#5C9731
accent
#EF3985
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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