#3D286C#3D286C

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

Color values

HEX#3D286C
RGBrgb(61, 40, 108)
HSLhsl(259, 46%, 29%)
HSVhsv(259, 63%, 42%)
CMYKcmyk(43.5%, 63%, 0%, 57.6%)
CIE-LABlab(22.27, 27.11, -36.36)
CIE-LCHlch(22.27, 45.36, 306.71°)
OKLaboklab(34.14% 0.0456 -0.1036)
OKLCHoklch(34.14% 0.113 293.8)
XYZxyz(5.3893, 3.5923, 14.5939)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D286C #576C28
analogous
#28356C #3D286C #5F286C
triadic
#3D286C #6C3D28 #286C3D
tetradic
#3D286C #6C2835 #576C28 #286C5F
square
#3D286C #6C2835 #576C28 #286C5F
split-complementary
#3D286C #6C5F28 #356C28
monochromatic
#0D0816 #24173F #3D286C #563999 #7250BE

Accessibility & contrast

On white

12.22
#3D286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3D286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D286C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D286C#FFFFFF#000000##FFFFFF
##3D286C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#04346B
Tritanopia (blue-blind)
#313746
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d286c;
/* rgb */ color: rgb(61, 40, 108);
/* oklch */ color: oklch(34.1% 0.113 293.8);
Tailwind
colors: {
  custom: {
    50: '#766397',
    500: '#3d286c',
    950: '#000000',
  },
}
SCSS
$custom: #3d286c;
$custom-light: #766397;
$custom-dark: #000000;
JSON
{
  "hex": "#3d286c",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 258.529,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34144,
    "c": 0.11319,
    "h": 293.8
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#3D286C
secondary
#879E51
accent
#D652AD
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3D286C

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

Preview Lab → · Contrast checker → · Palette generator →

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