#3D15A1#3D15A1

#3D15A1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.198 H 284.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#3D15A1
RGBrgb(61, 21, 161)
HSLhsl(257, 77%, 36%)
HSVhsv(257, 87%, 63%)
CMYKcmyk(62.1%, 87%, 0%, 36.9%)
CIE-LABlab(24.00, 52.25, -66.78)
CIE-LCHlch(24.00, 84.79, 308.04°)
OKLaboklab(36.9% 0.0479 -0.1925)
OKLCHoklch(36.9% 0.198 284)
XYZxyz(8.6237, 4.1011, 34.0485)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D15A1 #79A115
analogous
#1533A1 #3D15A1 #8315A1
triadic
#3D15A1 #A13D15 #15A13D
tetradic
#3D15A1 #A11533 #79A115 #15A183
square
#3D15A1 #A11533 #79A115 #15A183
split-complementary
#3D15A1 #A18315 #33A115
monochromatic
#140735 #280E6B #3D15A1 #521CD7 #7649E7

Accessibility & contrast

On white

11.54
#3D15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D15A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D15A1
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D15A1#FFFFFF#000000##FFFFFF
##3D15A11.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d15a1;
/* rgb */ color: rgb(61, 21, 161);
/* oklch */ color: oklch(36.9% 0.198 284.0);
Tailwind
colors: {
  custom: {
    50: '#815bbe',
    500: '#3d15a1',
    950: '#000000',
  },
}
SCSS
$custom: #3d15a1;
$custom-light: #815bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d15a1",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 257.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.19838,
    "h": 284
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#3D15A1
secondary
#A4C849
accent
#F334BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3D15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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