#3C2092#3C2092

#3C2092 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.172 H 285.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#3C2092
RGBrgb(60, 32, 146)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 57%)
CMYKcmyk(58.9%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.90, 43.12, -57.75)
CIE-LCHlch(23.90, 72.07, 306.75°)
OKLaboklab(36.32% 0.0453 -0.1663)
OKLCHoklch(36.32% 0.172 285.2)
XYZxyz(7.5667, 4.0685, 27.5751)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2092 #769220
analogous
#203D92 #3C2092 #752092
triadic
#3C2092 #923C20 #20923C
tetradic
#3C2092 #92203D #769220 #209275
square
#3C2092 #92203D #769220 #209275
split-complementary
#3C2092 #927520 #3D9220
monochromatic
#130A2E #271560 #3C2092 #512BC4 #7453D9

Accessibility & contrast

On white

11.58
#3C2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3C2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2092
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2092#FFFFFF#000000##FFFFFF
##3C20921.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#0E4158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c2092;
/* rgb */ color: rgb(60, 32, 146);
/* oklch */ color: oklch(36.3% 0.172 285.2);
Tailwind
colors: {
  custom: {
    50: '#7d5fb3',
    500: '#3c2092',
    950: '#000000',
  },
}
SCSS
$custom: #3c2092;
$custom-light: #7d5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2092",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 254.737,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36324,
    "c": 0.17239,
    "h": 285.2
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#3C2092
secondary
#A2BD51
accent
#E741BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2092

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

Preview Lab → · Contrast checker → · Palette generator →

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