#3D0F5A#3D0F5A

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

Color values

HEX#3D0F5A
RGBrgb(61, 15, 90)
HSLhsl(277, 71%, 21%)
HSVhsv(277, 83%, 35%)
CMYKcmyk(32.2%, 83.3%, 0%, 64.7%)
CIE-LABlab(15.86, 35.72, -34.89)
CIE-LCHlch(15.86, 49.93, 315.67°)
OKLaboklab(29.08% 0.0777 -0.0991)
OKLCHoklch(29.08% 0.126 308.1)
XYZxyz(3.9404, 2.0720, 9.8632)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F5A #2C5A0F
analogous
#170F5A #3D0F5A #5A0F51
triadic
#3D0F5A #5A3D0F #0F5A3D
tetradic
#3D0F5A #5A170F #2C5A0F #0F515A
square
#3D0F5A #5A170F #2C5A0F #0F515A
split-complementary
#3D0F5A #515A0F #0F5A17
monochromatic
#12041A #190626 #3D0F5A #61188E #8420C3

Accessibility & contrast

On white

14.85
#3D0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0F5A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F5A#FFFFFF#000000##FFFFFF
##3D0F5A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#382234
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0f5a;
/* rgb */ color: rgb(61, 15, 90);
/* oklch */ color: oklch(29.1% 0.126 308.1);
Tailwind
colors: {
  custom: {
    50: '#765389',
    500: '#3d0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f5a;
$custom-light: #765389;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f5a",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 276.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29081,
    "c": 0.12597,
    "h": 308.1
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#3D0F5A
secondary
#579431
accent
#EE3A7F
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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