#3D115B#3D115B

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

Color values

HEX#3D115B
RGBrgb(61, 17, 91)
HSLhsl(276, 69%, 21%)
HSVhsv(276, 81%, 36%)
CMYKcmyk(33%, 81.3%, 0%, 64.3%)
CIE-LABlab(16.25, 35.11, -34.93)
CIE-LCHlch(16.25, 49.52, 315.14°)
OKLaboklab(29.38% 0.0755 -0.0993)
OKLCHoklch(29.38% 0.125 307.3)
XYZxyz(4.0128, 2.1484, 10.0988)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D115B #2F5B11
analogous
#18115B #3D115B #5B1154
triadic
#3D115B #5B3D11 #115B3D
tetradic
#3D115B #5B1811 #2F5B11 #11545B
square
#3D115B #5B1811 #2F5B11 #11545B
split-complementary
#3D115B #545B11 #115B18
monochromatic
#11051A #1A0727 #3D115B #601B8F #8224C2

Accessibility & contrast

On white

14.69
#3D115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D115B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D115B#FFFFFF#000000##FFFFFF
##3D115B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#382335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d115b;
/* rgb */ color: rgb(61, 17, 91);
/* oklch */ color: oklch(29.4% 0.125 307.3);
Tailwind
colors: {
  custom: {
    50: '#76548a',
    500: '#3d115b',
    950: '#000000',
  },
}
SCSS
$custom: #3d115b;
$custom-light: #76548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d115b",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 275.676,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2938,
    "c": 0.12473,
    "h": 307.3
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#3D115B
secondary
#5B9434
accent
#EB3C83
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D115B

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

Preview Lab → · Contrast checker → · Palette generator →

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