#3D2883#3D2883

#3D2883 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.144 H 287.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#3D2883
RGBrgb(61, 40, 131)
HSLhsl(254, 53%, 34%)
HSVhsv(254, 69%, 51%)
CMYKcmyk(53.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(24.15, 34.27, -47.97)
CIE-LCHlch(24.15, 58.95, 305.54°)
OKLaboklab(36.1% 0.0433 -0.1377)
OKLCHoklch(36.1% 0.144 287.4)
XYZxyz(6.7788, 4.1480, 21.9118)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2883 #6E8328
analogous
#284083 #3D2883 #6A2883
triadic
#3D2883 #833D28 #28833D
tetradic
#3D2883 #832840 #6E8328 #28836A
square
#3D2883 #832840 #6E8328 #28836A
split-complementary
#3D2883 #836A28 #408328
monochromatic
#110B25 #271A54 #3D2883 #5336B2 #7459CC

Accessibility & contrast

On white

11.48
#3D2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2883
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2883#FFFFFF#000000##FFFFFF
##3D28831.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#223F52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2883;
/* rgb */ color: rgb(61, 40, 131);
/* oklch */ color: oklch(36.1% 0.144 287.4);
Tailwind
colors: {
  custom: {
    50: '#7a63a8',
    500: '#3d2883',
    950: '#000000',
  },
}
SCSS
$custom: #3d2883;
$custom-light: #7a63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2883",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 253.846,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36098,
    "c": 0.14434,
    "h": 287.4
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#3D2883
secondary
#9CB155
accent
#DD4BBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3D2883

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

Preview Lab → · Contrast checker → · Palette generator →

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