#3C1263#3C1263

#3C1263 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.132 H 302.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#3C1263
RGBrgb(60, 18, 99)
HSLhsl(271, 69%, 23%)
HSVhsv(271, 82%, 39%)
CMYKcmyk(39.4%, 81.8%, 0%, 61.2%)
CIE-LABlab(16.96, 36.52, -39.10)
CIE-LCHlch(16.96, 53.51, 313.04°)
OKLaboklab(30.07% 0.0709 -0.1116)
OKLCHoklch(30.07% 0.132 302.4)
XYZxyz(4.3314, 2.2941, 12.0166)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1263 #396312
analogous
#131263 #3C1263 #631261
triadic
#3C1263 #633C12 #12633C
tetradic
#3C1263 #631312 #396312 #126163
square
#3C1263 #631312 #396312 #126163
split-complementary
#3C1263 #616312 #126313
monochromatic
#10051A #1D092F #3C1263 #5B1B97 #7B25CB

Accessibility & contrast

On white

14.40
#3C1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3C1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1263
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1263#FFFFFF#000000##FFFFFF
##3C12631.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#34273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1263;
/* rgb */ color: rgb(60, 18, 99);
/* oklch */ color: oklch(30.1% 0.132 302.4);
Tailwind
colors: {
  custom: {
    50: '#765590',
    500: '#3c1263',
    950: '#000000',
  },
}
SCSS
$custom: #3c1263;
$custom-light: #765590;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1263",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 271.111,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3007,
    "c": 0.13219,
    "h": 302.4
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#3C1263
secondary
#679B36
accent
#EC3C91
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3C1263

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

Preview Lab → · Contrast checker → · Palette generator →

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