#3D27A9#3D27A9

#3D27A9 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.193 H 280.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3D27A9
RGBrgb(61, 39, 169)
HSLhsl(250, 63%, 41%)
HSVhsv(250, 77%, 66%)
CMYKcmyk(63.9%, 76.9%, 0%, 33.7%)
CIE-LABlab(27.59, 46.63, -65.70)
CIE-LCHlch(27.59, 80.57, 305.37°)
OKLaboklab(39.64% 0.0358 -0.1896)
OKLCHoklch(39.64% 0.193 280.7)
XYZxyz(9.8092, 5.3070, 38.0359)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27A9 #93A927
analogous
#2752A9 #3D27A9 #7E27A9
triadic
#3D27A9 #A93D27 #27A93D
tetradic
#3D27A9 #A92752 #93A927 #27A97E
square
#3D27A9 #A92752 #93A927 #27A97E
split-complementary
#3D27A9 #A97E27 #52A927
monochromatic
#191046 #2B1C77 #3D27A9 #553BD2 #806DDD

Accessibility & contrast

On white

10.19
#3D27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D27A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D27A9
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27A9#FFFFFF#000000##FFFFFF
##3D27A91.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d27a9;
/* rgb */ color: rgb(61, 39, 169);
/* oklch */ color: oklch(39.6% 0.193 280.7);
Tailwind
colors: {
  custom: {
    50: '#8165c4',
    500: '#3d27a9',
    950: '#000000',
  },
}
SCSS
$custom: #3d27a9;
$custom-light: #8165c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27a9",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 250.154,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39643,
    "c": 0.19294,
    "h": 280.7
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#3D27A9
secondary
#B4C468
accent
#E642CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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