#3D23A9#3D23A9

#3D23A9 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.197 H 281.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3D23A9
RGBrgb(61, 35, 169)
HSLhsl(252, 66%, 40%)
HSVhsv(252, 79%, 66%)
CMYKcmyk(63.9%, 79.3%, 0%, 33.7%)
CIE-LABlab(26.90, 48.62, -66.84)
CIE-LCHlch(26.90, 82.66, 306.03°)
OKLaboklab(39.16% 0.0382 -0.1929)
OKLCHoklch(39.16% 0.197 281.2)
XYZxyz(9.6847, 5.0580, 37.9944)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D23A9 #8FA923
analogous
#234CA9 #3D23A9 #8023A9
triadic
#3D23A9 #A93D23 #23A93D
tetradic
#3D23A9 #A9234C #8FA923 #23A980
square
#3D23A9 #A9234C #8FA923 #23A980
split-complementary
#3D23A9 #A98023 #4CA923
monochromatic
#180E44 #2B1976 #3D23A9 #5334D5 #7E67DF

Accessibility & contrast

On white

10.44
#3D23A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D23A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D23A9
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D23A9#FFFFFF#000000##FFFFFF
##3D23A91.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d23a9;
/* rgb */ color: rgb(61, 35, 169);
/* oklch */ color: oklch(39.2% 0.197 281.2);
Tailwind
colors: {
  custom: {
    50: '#8162c4',
    500: '#3d23a9',
    950: '#000000',
  },
}
SCSS
$custom: #3d23a9;
$custom-light: #8162c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d23a9",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 251.642,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.19662,
    "h": 281.2
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#3D23A9
secondary
#B2C563
accent
#E93FC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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