#3D256F#3D256F

#3D256F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.9% C 0.122 H 293.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#3D256F
RGBrgb(61, 37, 111)
HSLhsl(259, 50%, 29%)
HSVhsv(259, 67%, 44%)
CMYKcmyk(45%, 66.7%, 0%, 56.5%)
CIE-LABlab(21.81, 29.89, -39.05)
CIE-LCHlch(21.81, 49.18, 307.43°)
OKLaboklab(33.88% 0.0492 -0.1115)
OKLCHoklch(33.88% 0.122 293.8)
XYZxyz(5.4545, 3.4628, 15.4168)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D256F #576F25
analogous
#25326F #3D256F #62256F
triadic
#3D256F #6F3D25 #256F3D
tetradic
#3D256F #6F2532 #576F25 #256F62
square
#3D256F #6F2532 #576F25 #256F62
split-complementary
#3D256F #6F6225 #326F25
monochromatic
#0D0817 #241641 #3D256F #56349D #724BC3

Accessibility & contrast

On white

12.41
#3D256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3D256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D256F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D256F#FFFFFF#000000##FFFFFF
##3D256F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#2F3646
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d256f;
/* rgb */ color: rgb(61, 37, 111);
/* oklch */ color: oklch(33.9% 0.122 293.8);
Tailwind
colors: {
  custom: {
    50: '#776199',
    500: '#3d256f',
    950: '#000000',
  },
}
SCSS
$custom: #3d256f;
$custom-light: #776199;
$custom-dark: #000000;
JSON
{
  "hex": "#3d256f",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 259.459,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33879,
    "c": 0.12186,
    "h": 293.8
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#3D256F
secondary
#87A24E
accent
#DA4EAC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3D256F

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

Preview Lab → · Contrast checker → · Palette generator →

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