#3D1CA8#3D1CA8

#3D1CA8 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.3% C 0.201 H 282.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3D1CA8
RGBrgb(61, 28, 168)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 66%)
CMYKcmyk(63.7%, 83.3%, 0%, 34.1%)
CIE-LABlab(25.71, 51.48, -68.20)
CIE-LCHlch(25.71, 85.45, 307.05°)
OKLaboklab(38.3% 0.0422 -0.1967)
OKLCHoklch(38.3% 0.201 282.1)
XYZxyz(9.4054, 4.6491, 37.4399)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1CA8 #87A81C
analogous
#1C41A8 #3D1CA8 #831CA8
triadic
#3D1CA8 #A83D1C #1CA83D
tetradic
#3D1CA8 #A81C41 #87A81C #1CA883
square
#3D1CA8 #A81C41 #87A81C #1CA883
split-complementary
#3D1CA8 #A8831C #41A81C
monochromatic
#170B3F #2A1374 #3D1CA8 #5126DB #7B5BE4

Accessibility & contrast

On white

10.88
#3D1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D1CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1CA8
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1CA8#FFFFFF#000000##FFFFFF
##3D1CA81.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d1ca8;
/* rgb */ color: rgb(61, 28, 168);
/* oklch */ color: oklch(38.3% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#815fc3',
    500: '#3d1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ca8;
$custom-light: #815fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ca8",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 254.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.20121,
    "h": 282.1
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#3D1CA8
secondary
#ADC758
accent
#EE3AC4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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