#3C1765#3C1765

#3C1765 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.128 H 300.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#3C1765
RGBrgb(60, 23, 101)
HSLhsl(268, 63%, 24%)
HSVhsv(268, 77%, 40%)
CMYKcmyk(40.6%, 77.2%, 0%, 60.4%)
CIE-LABlab(17.98, 34.67, -38.77)
CIE-LCHlch(17.98, 52.01, 311.81°)
OKLaboklab(30.84% 0.0653 -0.1106)
OKLCHoklch(30.84% 0.128 300.6)
XYZxyz(4.5183, 2.5130, 12.5564)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1765 #406517
analogous
#171965 #3C1765 #631765
triadic
#3C1765 #653C17 #17653C
tetradic
#3C1765 #651719 #406517 #176563
square
#3C1765 #651719 #406517 #176563
split-complementary
#3C1765 #656317 #196517
monochromatic
#0F0619 #1E0C33 #3C1765 #5A2297 #772EC9

Accessibility & contrast

On white

13.98
#3C1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3C1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1765
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1765#FFFFFF#000000##FFFFFF
##3C17651.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#332A3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1765;
/* rgb */ color: rgb(60, 23, 101);
/* oklch */ color: oklch(30.8% 0.128 300.6);
Tailwind
colors: {
  custom: {
    50: '#765892',
    500: '#3c1765',
    950: '#000000',
  },
}
SCSS
$custom: #3c1765;
$custom-light: #765892;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1765",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 268.462,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30841,
    "c": 0.12848,
    "h": 300.6
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#3C1765
secondary
#6E9B3C
accent
#E64298
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1765

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

Preview Lab → · Contrast checker → · Palette generator →

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