#3D115E#3D115E

#3D115E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.128 H 305.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#3D115E
RGBrgb(61, 17, 94)
HSLhsl(274, 69%, 22%)
HSVhsv(274, 82%, 37%)
CMYKcmyk(35.1%, 81.9%, 0%, 63.1%)
CIE-LABlab(16.51, 35.86, -36.51)
CIE-LCHlch(16.51, 51.18, 314.49°)
OKLaboklab(29.65% 0.0748 -0.1039)
OKLCHoklch(29.65% 0.128 305.7)
XYZxyz(4.1448, 2.2012, 10.7940)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D115E #325E11
analogous
#17115E #3D115E #5E1159
triadic
#3D115E #5E3D11 #115E3D
tetradic
#3D115E #5E1711 #325E11 #11595E
square
#3D115E #5E1711 #325E11 #11595E
split-complementary
#3D115E #595E11 #115E17
monochromatic
#11051A #1B082A #3D115E #5F1A92 #8024C6

Accessibility & contrast

On white

14.58
#3D115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D115E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D115E#FFFFFF#000000##FFFFFF
##3D115E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#372537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d115e;
/* rgb */ color: rgb(61, 17, 94);
/* oklch */ color: oklch(29.6% 0.128 305.7);
Tailwind
colors: {
  custom: {
    50: '#76558c',
    500: '#3d115e',
    950: '#000000',
  },
}
SCSS
$custom: #3d115e;
$custom-light: #76558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d115e",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 274.286,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29646,
    "c": 0.12802,
    "h": 305.7
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#3D115E
secondary
#5E9734
accent
#EC3C87
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D115E

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

Preview Lab → · Contrast checker → · Palette generator →

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