#3C1965#3C1965

#3C1965 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.126 H 300.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#3C1965
RGBrgb(60, 25, 101)
HSLhsl(268, 60%, 25%)
HSVhsv(268, 75%, 40%)
CMYKcmyk(40.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(18.35, 33.64, -38.17)
CIE-LCHlch(18.35, 50.88, 311.39°)
OKLaboklab(31.1% 0.0632 -0.1089)
OKLCHoklch(31.1% 0.126 300.1)
XYZxyz(4.5595, 2.5955, 12.5702)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1965 #426519
analogous
#191C65 #3C1965 #621965
triadic
#3C1965 #653C19 #19653C
tetradic
#3C1965 #65191C #426519 #196562
square
#3C1965 #65191C #426519 #196562
split-complementary
#3C1965 #656219 #1C6519
monochromatic
#0F0619 #1F0D34 #3C1965 #592596 #7631C7

Accessibility & contrast

On white

13.82
#3C1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1965
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1965#FFFFFF#000000##FFFFFF
##3C19651.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#332C3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1965;
/* rgb */ color: rgb(60, 25, 101);
/* oklch */ color: oklch(31.1% 0.126 300.1);
Tailwind
colors: {
  custom: {
    50: '#765992',
    500: '#3c1965',
    950: '#000000',
  },
}
SCSS
$custom: #3c1965;
$custom-light: #765992;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1965",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 267.632,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31102,
    "c": 0.12589,
    "h": 300.1
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#3C1965
secondary
#719B3F
accent
#E3449A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C1965

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

Preview Lab → · Contrast checker → · Palette generator →

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