#3D1965#3D1965

#3D1965 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.126 H 300.9°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#3D1965
RGBrgb(61, 25, 101)
HSLhsl(268, 60%, 25%)
HSVhsv(268, 75%, 40%)
CMYKcmyk(39.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(18.48, 33.85, -37.94)
CIE-LCHlch(18.48, 50.84, 311.74°)
OKLaboklab(31.23% 0.0648 -0.1082)
OKLCHoklch(31.23% 0.126 300.9)
XYZxyz(4.6205, 2.6269, 12.5730)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1965 #416519
analogous
#191B65 #3D1965 #631965
triadic
#3D1965 #653D19 #19653D
tetradic
#3D1965 #65191B #416519 #196563
square
#3D1965 #65191B #416519 #196563
split-complementary
#3D1965 #656319 #1B6519
monochromatic
#0F0619 #1F0D34 #3D1965 #5B2596 #7831C7

Accessibility & contrast

On white

13.77
#3D1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1965
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1965#FFFFFF#000000##FFFFFF
##3D19651.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#342B3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1965;
/* rgb */ color: rgb(61, 25, 101);
/* oklch */ color: oklch(31.2% 0.126 300.9);
Tailwind
colors: {
  custom: {
    50: '#775992',
    500: '#3d1965',
    950: '#000000',
  },
}
SCSS
$custom: #3d1965;
$custom-light: #775992;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1965",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 268.421,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.12607,
    "h": 300.9
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#3D1965
secondary
#6F9B3F
accent
#E34498
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1965

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

Preview Lab → · Contrast checker → · Palette generator →

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