#3D185A#3D185A

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

Color values

HEX#3D185A
RGBrgb(61, 24, 90)
HSLhsl(274, 58%, 22%)
HSVhsv(274, 73%, 35%)
CMYKcmyk(32.2%, 73.3%, 0%, 64.7%)
CIE-LABlab(17.38, 31.41, -32.42)
CIE-LCHlch(17.38, 45.14, 314.09°)
OKLaboklab(30.16% 0.0678 -0.0919)
OKLCHoklch(30.16% 0.114 306.4)
XYZxyz(4.0962, 2.3836, 9.9152)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D185A #355A18
analogous
#1C185A #3D185A #5A1856
triadic
#3D185A #5A3D18 #185A3D
tetradic
#3D185A #5A1C18 #355A18 #18565A
square
#3D185A #5A1C18 #355A18 #18565A
split-complementary
#3D185A #565A18 #185A1C
monochromatic
#100618 #1C0B2A #3D185A #5E258A #7E32BB

Accessibility & contrast

On white

14.22
#3D185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D185A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D185A#FFFFFF#000000##FFFFFF
##3D185A1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#062B59
Tritanopia (blue-blind)
#382737
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d185a;
/* rgb */ color: rgb(61, 24, 90);
/* oklch */ color: oklch(30.2% 0.114 306.4);
Tailwind
colors: {
  custom: {
    50: '#765889',
    500: '#3d185a',
    950: '#000000',
  },
}
SCSS
$custom: #3d185a;
$custom-light: #765889;
$custom-dark: #000000;
JSON
{
  "hex": "#3d185a",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 273.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3016,
    "c": 0.11422,
    "h": 306.4
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#3D185A
secondary
#62913D
accent
#E1478B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D185A

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

Preview Lab → · Contrast checker → · Palette generator →

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