#3C1253#3C1253

#3C1253 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.114 H 310.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3C1253
RGBrgb(60, 18, 83)
HSLhsl(279, 64%, 20%)
HSVhsv(279, 78%, 33%)
CMYKcmyk(27.7%, 78.3%, 0%, 67.5%)
CIE-LABlab(15.58, 32.42, -30.62)
CIE-LCHlch(15.58, 44.60, 316.64°)
OKLaboklab(28.66% 0.0745 -0.0867)
OKLCHoklch(28.66% 0.114 310.7)
XYZxyz(3.6408, 2.0179, 8.3796)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1253 #295312
analogous
#1C1253 #3C1253 #53124A
triadic
#3C1253 #533C12 #12533C
tetradic
#3C1253 #531C12 #295312 #124A53
square
#3C1253 #531C12 #295312 #124A53
split-complementary
#3C1253 #4A5312 #12531C
monochromatic
#120519 #180721 #3C1253 #601D85 #8528B8

Accessibility & contrast

On white

14.96
#3C1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1253
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1253#FFFFFF#000000##FFFFFF
##3C12531.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#072852
Tritanopia (blue-blind)
#392131
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1253;
/* rgb */ color: rgb(60, 18, 83);
/* oklch */ color: oklch(28.7% 0.114 310.7);
Tailwind
colors: {
  custom: {
    50: '#755484',
    500: '#3c1253',
    950: '#000000',
  },
}
SCSS
$custom: #3c1253;
$custom-light: #755484;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1253",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 278.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.11427,
    "h": 310.7
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#3C1253
secondary
#548C35
accent
#E7407C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3C1253

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

Preview Lab → · Contrast checker → · Palette generator →

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