#3C136F#3C136F

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

Color values

HEX#3C136F
RGBrgb(60, 19, 111)
HSLhsl(267, 71%, 25%)
HSVhsv(267, 83%, 44%)
CMYKcmyk(45.9%, 82.9%, 0%, 56.5%)
CIE-LABlab(18.25, 39.28, -44.86)
CIE-LCHlch(18.25, 59.63, 311.20°)
OKLaboklab(31.32% 0.0663 -0.1285)
OKLCHoklch(31.32% 0.145 297.3)
XYZxyz(4.9648, 2.5740, 15.2711)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C136F #466F13
analogous
#13186F #3C136F #6A136F
triadic
#3C136F #6F3C13 #136F3C
tetradic
#3C136F #6F1318 #466F13 #136F6A
square
#3C136F #6F1318 #466F13 #136F6A
split-complementary
#3C136F #6F6A13 #186F13
monochromatic
#0E041A #200A3B #3C136F #581CA3 #7425D8

Accessibility & contrast

On white

13.86
#3C136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3C136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C136F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C136F#FFFFFF#000000##FFFFFF
##3C136F1.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#2E2D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c136f;
/* rgb */ color: rgb(60, 19, 111);
/* oklch */ color: oklch(31.3% 0.145 297.3);
Tailwind
colors: {
  custom: {
    50: '#785699',
    500: '#3c136f',
    950: '#000000',
  },
}
SCSS
$custom: #3c136f;
$custom-light: #785699;
$custom-dark: #000000;
JSON
{
  "hex": "#3c136f",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 266.739,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3132,
    "c": 0.14458,
    "h": 297.3
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#3C136F
secondary
#75A638
accent
#EE3A9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C136F

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

Preview Lab → · Contrast checker → · Palette generator →

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