#3D27AB#3D27AB

#3D27AB is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.195 H 280.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3D27AB
RGBrgb(61, 39, 171)
HSLhsl(250, 63%, 41%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(64.3%, 77.2%, 0%, 32.9%)
CIE-LABlab(27.80, 47.24, -66.56)
CIE-LCHlch(27.80, 81.62, 305.37°)
OKLaboklab(39.85% 0.0353 -0.1921)
OKLCHoklch(39.85% 0.195 280.4)
XYZxyz(9.9983, 5.3826, 39.0322)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27AB #95AB27
analogous
#2753AB #3D27AB #7F27AB
triadic
#3D27AB #AB3D27 #27AB3D
tetradic
#3D27AB #AB2753 #95AB27 #27AB7F
square
#3D27AB #AB2753 #95AB27 #27AB7F
split-complementary
#3D27AB #AB7F27 #53AB27
monochromatic
#191047 #2B1C79 #3D27AB #563DD3 #816EDE

Accessibility & contrast

On white

10.11
#3D27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D27AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D27AB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27AB#FFFFFF#000000##FFFFFF
##3D27AB1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d27ab;
/* rgb */ color: rgb(61, 39, 171);
/* oklch */ color: oklch(39.8% 0.195 280.4);
Tailwind
colors: {
  custom: {
    50: '#8165c5',
    500: '#3d27ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d27ab;
$custom-light: #8165c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27ab",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 250,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.19532,
    "h": 280.4
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#3D27AB
secondary
#B5C569
accent
#E642CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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