#3D1968#3D1968

#3D1968 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.130 H 299.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3D1968
RGBrgb(61, 25, 104)
HSLhsl(267, 61%, 25%)
HSVhsv(267, 76%, 41%)
CMYKcmyk(41.3%, 76%, 0%, 59.2%)
CIE-LABlab(18.74, 34.68, -39.48)
CIE-LCHlch(18.74, 52.55, 311.29°)
OKLaboklab(31.5% 0.0641 -0.1127)
OKLCHoklch(31.5% 0.13 299.6)
XYZxyz(4.7702, 2.6868, 13.3613)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1968 #446819
analogous
#191C68 #3D1968 #641968
triadic
#3D1968 #683D19 #19683D
tetradic
#3D1968 #68191C #446819 #196864
square
#3D1968 #68191C #446819 #196864
split-complementary
#3D1968 #686419 #1C6819
monochromatic
#0E0619 #200D37 #3D1968 #5A2599 #7731CB

Accessibility & contrast

On white

13.66
#3D1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3D1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1968
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1968#FFFFFF#000000##FFFFFF
##3D19681.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#332D3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3d1968;
/* rgb */ color: rgb(61, 25, 104);
/* oklch */ color: oklch(31.5% 0.130 299.6);
Tailwind
colors: {
  custom: {
    50: '#775994',
    500: '#3d1968',
    950: '#000000',
  },
}
SCSS
$custom: #3d1968;
$custom-light: #775994;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1968",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 267.342,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31496,
    "c": 0.12968,
    "h": 299.6
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#3D1968
secondary
#739E3F
accent
#E4439B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D1968

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

Preview Lab → · Contrast checker → · Palette generator →

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