#3D286B#3D286B

#3D286B is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.112 H 294.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#3D286B
RGBrgb(61, 40, 107)
HSLhsl(259, 46%, 29%)
HSVhsv(259, 63%, 42%)
CMYKcmyk(43%, 62.6%, 0%, 58%)
CIE-LABlab(22.20, 26.80, -35.84)
CIE-LCHlch(22.20, 44.75, 306.80°)
OKLaboklab(34.07% 0.0457 -0.102)
OKLCHoklch(34.07% 0.112 294.1)
XYZxyz(5.3364, 3.5711, 14.3152)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D286B #566B28
analogous
#28356B #3D286B #5F286B
triadic
#3D286B #6B3D28 #286B3D
tetradic
#3D286B #6B2835 #566B28 #286B5F
square
#3D286B #6B2835 #566B28 #286B5F
split-complementary
#3D286B #6B5F28 #356B28
monochromatic
#0D0816 #24173E #3D286B #563998 #7250BE

Accessibility & contrast

On white

12.25
#3D286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3D286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D286B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D286B#FFFFFF#000000##FFFFFF
##3D286B1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#06346A
Tritanopia (blue-blind)
#313745
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d286b;
/* rgb */ color: rgb(61, 40, 107);
/* oklch */ color: oklch(34.1% 0.112 294.1);
Tailwind
colors: {
  custom: {
    50: '#766396',
    500: '#3d286b',
    950: '#000000',
  },
}
SCSS
$custom: #3d286b;
$custom-light: #766396;
$custom-dark: #000000;
JSON
{
  "hex": "#3d286b",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 258.806,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.11178,
    "h": 294.1
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#3D286B
secondary
#869D51
accent
#D553AC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D286B

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

Preview Lab → · Contrast checker → · Palette generator →

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