#3D2CAB#3D2CAB

#3D2CAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.190 H 279.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3D2CAB
RGBrgb(61, 44, 171)
HSLhsl(248, 59%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(64.3%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.73, 44.61, -65.03)
CIE-LCHlch(28.73, 78.86, 304.45°)
OKLaboklab(40.5% 0.0321 -0.1877)
OKLCHoklch(40.5% 0.19 279.7)
XYZxyz(10.1735, 5.7329, 39.0906)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2CAB #9AAB2C
analogous
#2C5BAB #3D2CAB #7C2CAB
triadic
#3D2CAB #AB3D2C #2CAB3D
tetradic
#3D2CAB #AB2C5B #9AAB2C #2CAB7C
square
#3D2CAB #AB2C5B #9AAB2C #2CAB7C
split-complementary
#3D2CAB #AB7C2C #5BAB2C
monochromatic
#1A134A #2C1F7A #3D2CAB #5845CF #8376DC

Accessibility & contrast

On white

9.78
#3D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2CAB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2CAB#FFFFFF#000000##FFFFFF
##3D2CAB1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2cab;
/* rgb */ color: rgb(61, 44, 171);
/* oklch */ color: oklch(40.5% 0.190 279.7);
Tailwind
colors: {
  custom: {
    50: '#8168c5',
    500: '#3d2cab',
    950: '#000000',
  },
}
SCSS
$custom: #3d2cab;
$custom-light: #8168c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2cab",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 248.031,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.1904,
    "h": 279.7
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#3D2CAB
secondary
#B8C36F
accent
#E246CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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