#3D1869#3D1869

#3D1869 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.132 H 299.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#3D1869
RGBrgb(61, 24, 105)
HSLhsl(267, 63%, 25%)
HSVhsv(267, 77%, 41%)
CMYKcmyk(41.9%, 77.1%, 0%, 58.8%)
CIE-LABlab(18.65, 35.47, -40.29)
CIE-LCHlch(18.65, 53.68, 311.36°)
OKLaboklab(31.46% 0.065 -0.1151)
OKLCHoklch(31.46% 0.132 299.4)
XYZxyz(4.8003, 2.6652, 13.6234)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1869 #446918
analogous
#181C69 #3D1869 #651869
triadic
#3D1869 #693D18 #18693D
tetradic
#3D1869 #69181C #446918 #186965
square
#3D1869 #69181C #446918 #186965
split-complementary
#3D1869 #696518 #1C6918
monochromatic
#0E0619 #200D37 #3D1869 #5A239B #772FCD

Accessibility & contrast

On white

13.70
#3D1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1869
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1869#FFFFFF#000000##FFFFFF
##3D18691.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#332C3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1869;
/* rgb */ color: rgb(61, 24, 105);
/* oklch */ color: oklch(31.5% 0.132 299.4);
Tailwind
colors: {
  custom: {
    50: '#775995',
    500: '#3d1869',
    950: '#000000',
  },
}
SCSS
$custom: #3d1869;
$custom-light: #775995;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1869",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 267.407,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.13215,
    "h": 299.4
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#3D1869
secondary
#739F3E
accent
#E6429B
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1869

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

Preview Lab → · Contrast checker → · Palette generator →

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