#3C1275#3C1275

#3C1275 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.152 H 295.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#3C1275
RGBrgb(60, 18, 117)
HSLhsl(265, 73%, 26%)
HSVhsv(265, 85%, 46%)
CMYKcmyk(48.7%, 84.6%, 0%, 54.1%)
CIE-LABlab(18.70, 41.32, -48.00)
CIE-LCHlch(18.70, 63.33, 310.72°)
OKLaboklab(31.82% 0.065 -0.1377)
OKLCHoklch(31.82% 0.152 295.3)
XYZxyz(5.2898, 2.6775, 17.0643)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1275 #4B7512
analogous
#121975 #3C1275 #6E1275
triadic
#3C1275 #753C12 #12753C
tetradic
#3C1275 #751219 #4B7512 #12756E
square
#3C1275 #751219 #4B7512 #12756E
split-complementary
#3C1275 #756E12 #197512
monochromatic
#0E041B #210A40 #3C1275 #571AAA #7324DD

Accessibility & contrast

On white

13.68
#3C1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1275
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1275#FFFFFF#000000##FFFFFF
##3C12751.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#2B2F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1275;
/* rgb */ color: rgb(60, 18, 117);
/* oklch */ color: oklch(31.8% 0.152 295.3);
Tailwind
colors: {
  custom: {
    50: '#79569e',
    500: '#3c1275',
    950: '#000000',
  },
}
SCSS
$custom: #3c1275;
$custom-light: #79569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1275",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 265.455,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31816,
    "c": 0.15224,
    "h": 295.3
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#3C1275
secondary
#7AAC37
accent
#F038A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1275

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

Preview Lab → · Contrast checker → · Palette generator →

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