#3C2099#3C2099

#3C2099 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.181 H 283.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#3C2099
RGBrgb(60, 32, 153)
HSLhsl(254, 65%, 36%)
HSVhsv(254, 79%, 60%)
CMYKcmyk(60.8%, 79.1%, 0%, 40%)
CIE-LABlab(24.62, 45.21, -60.88)
CIE-LCHlch(24.62, 75.83, 306.60°)
OKLaboklab(37.04% 0.0432 -0.1755)
OKLCHoklch(37.04% 0.181 283.8)
XYZxyz(8.1280, 4.2931, 30.5312)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2099 #7D9920
analogous
#204199 #3C2099 #792099
triadic
#3C2099 #993C20 #20993C
tetradic
#3C2099 #992041 #7D9920 #209979
square
#3C2099 #992041 #7D9920 #209979
split-complementary
#3C2099 #997920 #419920
monochromatic
#140B34 #281566 #3C2099 #502BCC #7657DC

Accessibility & contrast

On white

11.30
#3C2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3C2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2099
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2099#FFFFFF#000000##FFFFFF
##3C20991.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2099;
/* rgb */ color: rgb(60, 32, 153);
/* oklch */ color: oklch(37.0% 0.181 283.8);
Tailwind
colors: {
  custom: {
    50: '#7e60b8',
    500: '#3c2099',
    950: '#000000',
  },
}
SCSS
$custom: #3c2099;
$custom-light: #7e60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2099",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 253.884,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37044,
    "c": 0.18072,
    "h": 283.8
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#3C2099
secondary
#A7C055
accent
#E83FC1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C2099

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

Preview Lab → · Contrast checker → · Palette generator →

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