#3D115F#3D115F

#3D115F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.129 H 305.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#3D115F
RGBrgb(61, 17, 95)
HSLhsl(274, 70%, 22%)
HSVhsv(274, 82%, 37%)
CMYKcmyk(35.8%, 82.1%, 0%, 62.7%)
CIE-LABlab(16.60, 36.12, -37.03)
CIE-LCHlch(16.60, 51.73, 314.28°)
OKLaboklab(29.74% 0.0745 -0.1055)
OKLCHoklch(29.74% 0.129 305.2)
XYZxyz(4.1900, 2.2192, 11.0319)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D115F #335F11
analogous
#16115F #3D115F #5F115A
triadic
#3D115F #5F3D11 #115F3D
tetradic
#3D115F #5F1611 #335F11 #115A5F
square
#3D115F #5F1611 #335F11 #115A5F
split-complementary
#3D115F #5A5F11 #115F16
monochromatic
#11051A #1C082B #3D115F #5E1A93 #8024C7

Accessibility & contrast

On white

14.54
#3D115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D115F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D115F#FFFFFF#000000##FFFFFF
##3D115F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#372538
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d115f;
/* rgb */ color: rgb(61, 17, 95);
/* oklch */ color: oklch(29.7% 0.129 305.2);
Tailwind
colors: {
  custom: {
    50: '#77558d',
    500: '#3d115f',
    950: '#000000',
  },
}
SCSS
$custom: #3d115f;
$custom-light: #77558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d115f",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 273.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29736,
    "c": 0.12912,
    "h": 305.2
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#3D115F
secondary
#609834
accent
#EC3B89
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D115F

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

Preview Lab → · Contrast checker → · Palette generator →

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