#3D266E#3D266E

#3D266E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.0% C 0.119 H 293.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#3D266E
RGBrgb(61, 38, 110)
HSLhsl(259, 49%, 29%)
HSVhsv(259, 65%, 43%)
CMYKcmyk(44.5%, 65.5%, 0%, 56.9%)
CIE-LABlab(21.96, 28.97, -38.17)
CIE-LCHlch(21.96, 47.92, 307.20°)
OKLaboklab(33.96% 0.0481 -0.1089)
OKLCHoklch(33.96% 0.119 293.8)
XYZxyz(5.4313, 3.5040, 15.1390)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D266E #576E26
analogous
#26336E #3D266E #61266E
triadic
#3D266E #6E3D26 #266E3D
tetradic
#3D266E #6E2633 #576E26 #266E61
square
#3D266E #6E2633 #576E26 #266E61
split-complementary
#3D266E #6E6126 #336E26
monochromatic
#0D0817 #241641 #3D266E #56369B #724DC1

Accessibility & contrast

On white

12.35
#3D266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3D266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D266E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D266E#FFFFFF#000000##FFFFFF
##3D266E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#303646
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d266e;
/* rgb */ color: rgb(61, 38, 110);
/* oklch */ color: oklch(34.0% 0.119 293.8);
Tailwind
colors: {
  custom: {
    50: '#776198',
    500: '#3d266e',
    950: '#000000',
  },
}
SCSS
$custom: #3d266e;
$custom-light: #776198;
$custom-dark: #000000;
JSON
{
  "hex": "#3d266e",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 259.167,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33962,
    "c": 0.11901,
    "h": 293.8
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#3D266E
secondary
#87A14F
accent
#D850AD
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D266E

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

Preview Lab → · Contrast checker → · Palette generator →

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