#3D185B#3D185B

#3D185B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.115 H 305.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3D185B
RGBrgb(61, 24, 91)
HSLhsl(273, 58%, 23%)
HSVhsv(273, 74%, 36%)
CMYKcmyk(33%, 73.6%, 0%, 64.3%)
CIE-LABlab(17.46, 31.67, -32.96)
CIE-LCHlch(17.46, 45.71, 313.86°)
OKLaboklab(30.24% 0.0676 -0.0935)
OKLCHoklch(30.24% 0.115 305.9)
XYZxyz(4.1390, 2.4007, 10.1408)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D185B #365B18
analogous
#1B185B #3D185B #5B1858
triadic
#3D185B #5B3D18 #185B3D
tetradic
#3D185B #5B1B18 #365B18 #18585B
square
#3D185B #5B1B18 #365B18 #18585B
split-complementary
#3D185B #585B18 #185B1B
monochromatic
#100618 #1D0B2B #3D185B #5D258B #7E32BC

Accessibility & contrast

On white

14.19
#3D185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D185B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D185B#FFFFFF#000000##FFFFFF
##3D185B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#382737
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d185b;
/* rgb */ color: rgb(61, 24, 91);
/* oklch */ color: oklch(30.2% 0.115 305.9);
Tailwind
colors: {
  custom: {
    50: '#76588a',
    500: '#3d185b',
    950: '#000000',
  },
}
SCSS
$custom: #3d185b;
$custom-light: #76588a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d185b",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 273.134,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30243,
    "c": 0.11542,
    "h": 305.9
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#3D185B
secondary
#63923D
accent
#E1468C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D185B

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

Preview Lab → · Contrast checker → · Palette generator →

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