#3D1175#3D1175

#3D1175 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.153 H 296.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#3D1175
RGBrgb(61, 17, 117)
HSLhsl(266, 75%, 26%)
HSVhsv(266, 85%, 46%)
CMYKcmyk(47.9%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.70, 41.86, -47.99)
CIE-LCHlch(18.70, 63.69, 311.10°)
OKLaboklab(31.85% 0.0674 -0.1376)
OKLCHoklch(31.85% 0.153 296.1)
XYZxyz(5.3349, 2.6772, 17.0618)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1175 #497511
analogous
#111775 #3D1175 #6F1175
triadic
#3D1175 #753D11 #11753D
tetradic
#3D1175 #751117 #497511 #11756F
square
#3D1175 #751117 #497511 #11756F
split-complementary
#3D1175 #756F11 #177511
monochromatic
#0E041B #210940 #3D1175 #5919AA #7522DF

Accessibility & contrast

On white

13.68
#3D1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1175
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1175#FFFFFF#000000##FFFFFF
##3D11751.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#2D2E44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1175;
/* rgb */ color: rgb(61, 17, 117);
/* oklch */ color: oklch(31.8% 0.153 296.1);
Tailwind
colors: {
  custom: {
    50: '#79569e',
    500: '#3d1175',
    950: '#000000',
  },
}
SCSS
$custom: #3d1175;
$custom-light: #79569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1175",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 266.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31846,
    "c": 0.15323,
    "h": 296.1
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#3D1175
secondary
#78AC36
accent
#F1379F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1175

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

Preview Lab → · Contrast checker → · Palette generator →

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