#3D1850#3D1850

#3D1850 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.102 H 312.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#3D1850
RGBrgb(61, 24, 80)
HSLhsl(280, 54%, 20%)
HSVhsv(280, 70%, 31%)
CMYKcmyk(23.7%, 70%, 0%, 68.6%)
CIE-LABlab(16.62, 28.81, -26.89)
CIE-LCHlch(16.62, 39.41, 316.97°)
OKLaboklab(29.37% 0.0687 -0.0757)
OKLCHoklch(29.37% 0.102 312.2)
XYZxyz(3.6988, 2.2247, 7.8224)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1850 #2B5018
analogous
#211850 #3D1850 #501847
triadic
#3D1850 #503D18 #18503D
tetradic
#3D1850 #502118 #2B5018 #184750
square
#3D1850 #502118 #2B5018 #184750
split-complementary
#3D1850 #475018 #185021
monochromatic
#120718 #190A21 #3D1850 #61267F #8534AE

Accessibility & contrast

On white

14.53
#3D1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1850
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1850#FFFFFF#000000##FFFFFF
##3D18501.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012752
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#3B2331
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d1850;
/* rgb */ color: rgb(61, 24, 80);
/* oklch */ color: oklch(29.4% 0.102 312.2);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3d1850',
    950: '#000000',
  },
}
SCSS
$custom: #3d1850;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1850",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 279.643,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29373,
    "c": 0.10222,
    "h": 312.2
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#3D1850
secondary
#56873D
accent
#DD4B7C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D1850

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

Preview Lab → · Contrast checker → · Palette generator →

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