#3D2FB2#3D2FB2

#3D2FB2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.6% C 0.196 H 278.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB2
RGBrgb(61, 47, 178)
HSLhsl(246, 58%, 44%)
HSVhsv(246, 74%, 70%)
CMYKcmyk(65.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(30.01, 45.17, -67.11)
CIE-LCHlch(30.01, 80.90, 303.94°)
OKLaboklab(41.62% 0.0287 -0.1938)
OKLCHoklch(41.62% 0.196 278.4)
XYZxyz(10.9743, 6.2386, 42.7367)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB2 #A4B22F
analogous
#2F63B2 #3D2FB2 #7F2FB2
triadic
#3D2FB2 #B23D2F #2FB23D
tetradic
#3D2FB2 #B22F63 #A4B22F #2FB27F
square
#3D2FB2 #B22F63 #A4B22F #2FB27F
split-complementary
#3D2FB2 #B27F2F #63B22F
monochromatic
#1C1551 #2C2282 #3D2FB2 #5C4ED0 #887EDD

Accessibility & contrast

On white

9.34
#3D2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3D2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB2#FFFFFF#000000##FFFFFF
##3D2FB21.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d2fb2;
/* rgb */ color: rgb(61, 47, 178);
/* oklch */ color: oklch(41.6% 0.196 278.4);
Tailwind
colors: {
  custom: {
    50: '#826aca',
    500: '#3d2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb2;
$custom-light: #826aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb2",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 246.412,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.19589,
    "h": 278.4
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#3D2FB2
secondary
#BDC677
accent
#E146D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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