#3D115A#3D115A

#3D115A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.124 H 307.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3D115A
RGBrgb(61, 17, 90)
HSLhsl(276, 68%, 21%)
HSVhsv(276, 81%, 35%)
CMYKcmyk(32.2%, 81.1%, 0%, 64.7%)
CIE-LABlab(16.16, 34.86, -34.40)
CIE-LCHlch(16.16, 48.97, 315.38°)
OKLaboklab(29.29% 0.0757 -0.0977)
OKLCHoklch(29.29% 0.124 307.8)
XYZxyz(3.9700, 2.1312, 9.8731)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D115A #2E5A11
analogous
#18115A #3D115A #5A1152
triadic
#3D115A #5A3D11 #115A3D
tetradic
#3D115A #5A1811 #2E5A11 #11525A
square
#3D115A #5A1811 #2E5A11 #11525A
split-complementary
#3D115A #525A11 #115A18
monochromatic
#11051A #1A0727 #3D115A #601B8D #8324C1

Accessibility & contrast

On white

14.72
#3D115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D115A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D115A#FFFFFF#000000##FFFFFF
##3D115A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d115a;
/* rgb */ color: rgb(61, 17, 90);
/* oklch */ color: oklch(29.3% 0.124 307.8);
Tailwind
colors: {
  custom: {
    50: '#765489',
    500: '#3d115a',
    950: '#000000',
  },
}
SCSS
$custom: #3d115a;
$custom-light: #765489;
$custom-dark: #000000;
JSON
{
  "hex": "#3d115a",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 276.164,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29292,
    "c": 0.12363,
    "h": 307.8
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#3D115A
secondary
#5A9334
accent
#EB3D82
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D115A

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

Preview Lab → · Contrast checker → · Palette generator →

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