#3D286E#3D286E

#3D286E is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.3% C 0.116 H 293.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#3D286E
RGBrgb(61, 40, 110)
HSLhsl(258, 47%, 29%)
HSVhsv(258, 64%, 43%)
CMYKcmyk(44.5%, 63.6%, 0%, 56.9%)
CIE-LABlab(22.43, 27.73, -37.41)
CIE-LCHlch(22.43, 46.56, 306.54°)
OKLaboklab(34.3% 0.0455 -0.1066)
OKLCHoklch(34.3% 0.116 293.1)
XYZxyz(5.4970, 3.6353, 15.1609)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D286E #596E28
analogous
#28366E #3D286E #60286E
triadic
#3D286E #6E3D28 #286E3D
tetradic
#3D286E #6E2836 #596E28 #286E60
square
#3D286E #6E2836 #596E28 #286E60
split-complementary
#3D286E #6E6028 #366E28
monochromatic
#0C0816 #241841 #3D286E #56389B #7251C0

Accessibility & contrast

On white

12.16
#3D286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D286E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D286E#FFFFFF#000000##FFFFFF
##3D286E1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#303847
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d286e;
/* rgb */ color: rgb(61, 40, 110);
/* oklch */ color: oklch(34.3% 0.116 293.1);
Tailwind
colors: {
  custom: {
    50: '#776398',
    500: '#3d286e',
    950: '#000000',
  },
}
SCSS
$custom: #3d286e;
$custom-light: #776398;
$custom-dark: #000000;
JSON
{
  "hex": "#3d286e",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 258,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34304,
    "c": 0.11597,
    "h": 293.1
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#3D286E
secondary
#89A051
accent
#D651AE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D286E

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

Preview Lab → · Contrast checker → · Palette generator →

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