#3D2FB7#3D2FB7

#3D2FB7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.202 H 277.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB7
RGBrgb(61, 47, 183)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 72%)
CMYKcmyk(66.7%, 74.3%, 0%, 28.2%)
CIE-LABlab(30.50, 46.75, -69.27)
CIE-LCHlch(30.50, 83.57, 304.01°)
OKLaboklab(42.12% 0.0276 -0.2001)
OKLCHoklch(42.12% 0.202 277.9)
XYZxyz(11.4855, 6.4430, 45.4289)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB7 #A9B72F
analogous
#2F65B7 #3D2FB7 #812FB7
triadic
#3D2FB7 #B73D2F #2FB73D
tetradic
#3D2FB7 #B72F65 #A9B72F #2FB781
square
#3D2FB7 #B72F65 #A9B72F #2FB781
split-complementary
#3D2FB7 #B7812F #65B72F
monochromatic
#1D1656 #2D2286 #3D2FB7 #5E51D2 #8B82DF

Accessibility & contrast

On white

9.18
#3D2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3D2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB7
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB7#FFFFFF#000000##FFFFFF
##3D2FB71.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d2fb7;
/* rgb */ color: rgb(61, 47, 183);
/* oklch */ color: oklch(42.1% 0.202 277.9);
Tailwind
colors: {
  custom: {
    50: '#836ace',
    500: '#3d2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb7;
$custom-light: #836ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb7",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 246.176,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.20196,
    "h": 277.9
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#3D2FB7
secondary
#C0C87A
accent
#E245D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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