#3D136F#3D136F

#3D136F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.145 H 298.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3D136F
RGBrgb(61, 19, 111)
HSLhsl(267, 71%, 25%)
HSVhsv(267, 83%, 44%)
CMYKcmyk(45%, 82.9%, 0%, 56.5%)
CIE-LABlab(18.39, 39.44, -44.63)
CIE-LCHlch(18.39, 59.56, 311.47°)
OKLaboklab(31.45% 0.0679 -0.1278)
OKLCHoklch(31.45% 0.145 298)
XYZxyz(5.0258, 2.6055, 15.2740)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D136F #456F13
analogous
#13176F #3D136F #6B136F
triadic
#3D136F #6F3D13 #136F3D
tetradic
#3D136F #6F1317 #456F13 #136F6B
square
#3D136F #6F1317 #456F13 #136F6B
split-complementary
#3D136F #6F6B13 #176F13
monochromatic
#0E041A #200A3B #3D136F #5A1CA3 #7625D8

Accessibility & contrast

On white

13.80
#3D136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3D136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D136F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D136F#FFFFFF#000000##FFFFFF
##3D136F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#302D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d136f;
/* rgb */ color: rgb(61, 19, 111);
/* oklch */ color: oklch(31.4% 0.145 298.0);
Tailwind
colors: {
  custom: {
    50: '#785799',
    500: '#3d136f',
    950: '#000000',
  },
}
SCSS
$custom: #3d136f;
$custom-light: #785799;
$custom-dark: #000000;
JSON
{
  "hex": "#3d136f",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 267.391,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31447,
    "c": 0.14471,
    "h": 298
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#3D136F
secondary
#74A638
accent
#EE3A9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3D136F

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

Preview Lab → · Contrast checker → · Palette generator →

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