#3D2383#3D2383

#3D2383 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.151 H 288.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3D2383
RGBrgb(61, 35, 131)
HSLhsl(256, 58%, 33%)
HSVhsv(256, 73%, 51%)
CMYKcmyk(53.4%, 73.3%, 0%, 48.6%)
CIE-LABlab(23.11, 37.15, -49.68)
CIE-LCHlch(23.11, 62.03, 306.79°)
OKLaboklab(35.35% 0.0481 -0.1427)
OKLCHoklch(35.35% 0.151 288.6)
XYZxyz(6.6210, 3.8325, 21.8592)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2383 #698323
analogous
#233983 #3D2383 #6D2383
triadic
#3D2383 #833D23 #23833D
tetradic
#3D2383 #832339 #698323 #23836D
square
#3D2383 #832339 #698323 #23836D
split-complementary
#3D2383 #836D23 #398323
monochromatic
#100922 #271653 #3D2383 #5330B3 #7350D0

Accessibility & contrast

On white

11.89
#3D2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2383
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2383#FFFFFF#000000##FFFFFF
##3D23831.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#233C50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2383;
/* rgb */ color: rgb(61, 35, 131);
/* oklch */ color: oklch(35.4% 0.151 288.6);
Tailwind
colors: {
  custom: {
    50: '#7a60a8',
    500: '#3d2383',
    950: '#000000',
  },
}
SCSS
$custom: #3d2383;
$custom-light: #7a60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2383",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 256.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35351,
    "c": 0.1506,
    "h": 288.6
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#3D2383
secondary
#98B44E
accent
#E147B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2383

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

Preview Lab → · Contrast checker → · Palette generator →

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