#3C2285#3C2285

#3C2285 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.154 H 287.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#3C2285
RGBrgb(60, 34, 133)
HSLhsl(256, 59%, 33%)
HSVhsv(256, 74%, 52%)
CMYKcmyk(54.9%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.99, 38.15, -51.13)
CIE-LCHlch(22.99, 63.80, 306.73°)
OKLaboklab(35.3% 0.0471 -0.147)
OKLCHoklch(35.3% 0.154 287.7)
XYZxyz(6.6679, 3.7978, 22.5675)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2285 #6B8522
analogous
#223985 #3C2285 #6E2285
triadic
#3C2285 #853C22 #22853C
tetradic
#3C2285 #852239 #6B8522 #22856E
square
#3C2285 #852239 #6B8522 #22856E
split-complementary
#3C2285 #856E22 #398522
monochromatic
#100924 #261654 #3C2285 #522EB6 #724FD2

Accessibility & contrast

On white

11.93
#3C2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3C2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2285
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2285#FFFFFF#000000##FFFFFF
##3C22851.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#1F3D51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c2285;
/* rgb */ color: rgb(60, 34, 133);
/* oklch */ color: oklch(35.3% 0.154 287.7);
Tailwind
colors: {
  custom: {
    50: '#7a60a9',
    500: '#3c2285',
    950: '#000000',
  },
}
SCSS
$custom: #3c2285;
$custom-light: #7a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2285",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 255.758,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.15435,
    "h": 287.7
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#3C2285
secondary
#9AB64D
accent
#E245B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2285

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

Preview Lab → · Contrast checker → · Palette generator →

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