#3D2FB6#3D2FB6

#3D2FB6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.201 H 278.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB6
RGBrgb(61, 47, 182)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(66.5%, 74.2%, 0%, 28.6%)
CIE-LABlab(30.40, 46.43, -68.84)
CIE-LCHlch(30.40, 83.03, 304.00°)
OKLaboklab(42.02% 0.0278 -0.1988)
OKLCHoklch(42.02% 0.201 278)
XYZxyz(11.3818, 6.4016, 44.8827)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB6 #A8B62F
analogous
#2F65B6 #3D2FB6 #802FB6
triadic
#3D2FB6 #B63D2F #2FB63D
tetradic
#3D2FB6 #B62F65 #A8B62F #2FB680
square
#3D2FB6 #B62F65 #A8B62F #2FB680
split-complementary
#3D2FB6 #B6802F #65B62F
monochromatic
#1C1655 #2D2285 #3D2FB6 #5E50D2 #8B81DE

Accessibility & contrast

On white

9.21
#3D2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D2FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB6
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB6#FFFFFF#000000##FFFFFF
##3D2FB61.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d2fb6;
/* rgb */ color: rgb(61, 47, 182);
/* oklch */ color: oklch(42.0% 0.201 278.0);
Tailwind
colors: {
  custom: {
    50: '#836acd',
    500: '#3d2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb6;
$custom-light: #836acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb6",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 246.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.20076,
    "h": 278
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#3D2FB6
secondary
#BFC779
accent
#E246D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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