#3C1962#3C1962

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

Color values

HEX#3C1962
RGBrgb(60, 25, 98)
HSLhsl(269, 59%, 24%)
HSVhsv(269, 74%, 38%)
CMYKcmyk(38.8%, 74.5%, 0%, 61.6%)
CIE-LABlab(18.09, 32.81, -36.61)
CIE-LCHlch(18.09, 49.16, 311.87°)
OKLaboklab(30.84% 0.0638 -0.1043)
OKLCHoklch(30.84% 0.122 301.4)
XYZxyz(4.4152, 2.5377, 11.8101)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1962 #3F6219
analogous
#191B62 #3C1962 #611962
triadic
#3C1962 #623C19 #19623C
tetradic
#3C1962 #62191B #3F6219 #196261
square
#3C1962 #62191B #3F6219 #196261
split-complementary
#3C1962 #626119 #1B6219
monochromatic
#0F0618 #1E0D31 #3C1962 #5A2593 #7832C4

Accessibility & contrast

On white

13.93
#3C1962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1962
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1962#FFFFFF#000000##FFFFFF
##3C19621.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#342A3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1962;
/* rgb */ color: rgb(60, 25, 98);
/* oklch */ color: oklch(30.8% 0.122 301.4);
Tailwind
colors: {
  custom: {
    50: '#76598f',
    500: '#3c1962',
    950: '#000000',
  },
}
SCSS
$custom: #3c1962;
$custom-light: #76598f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1962",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 268.767,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30839,
    "c": 0.12224,
    "h": 301.4
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#3C1962
secondary
#6D983F
accent
#E34597
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3C1962

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

Preview Lab → · Contrast checker → · Palette generator →

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