#3D23AF#3D23AF

#3D23AF is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.204 H 280.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3D23AF
RGBrgb(61, 35, 175)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 80%, 69%)
CMYKcmyk(65.1%, 80%, 0%, 31.4%)
CIE-LABlab(27.54, 50.40, -69.39)
CIE-LCHlch(27.54, 85.76, 305.99°)
OKLaboklab(39.8% 0.0364 -0.2003)
OKLCHoklch(39.8% 0.204 280.3)
XYZxyz(10.2609, 5.2885, 41.0292)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D23AF #95AF23
analogous
#234FAF #3D23AF #8323AF
triadic
#3D23AF #AF3D23 #23AF3D
tetradic
#3D23AF #AF234F #95AF23 #23AF83
square
#3D23AF #AF234F #95AF23 #23AF83
split-complementary
#3D23AF #AF8323 #4FAF23
monochromatic
#190F49 #2B197C #3D23AF #5638D7 #816BE1

Accessibility & contrast

On white

10.21
#3D23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D23AF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D23AF#FFFFFF#000000##FFFFFF
##3D23AF1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d23af;
/* rgb */ color: rgb(61, 35, 175);
/* oklch */ color: oklch(39.8% 0.204 280.3);
Tailwind
colors: {
  custom: {
    50: '#8263c8',
    500: '#3d23af',
    950: '#000000',
  },
}
SCSS
$custom: #3d23af;
$custom-light: #8263c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d23af",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 251.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.20357,
    "h": 280.3
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#3D23AF
secondary
#B5C766
accent
#EA3ECA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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