#3C2267#3C2267

#3C2267 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.116 H 296.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#3C2267
RGBrgb(60, 34, 103)
HSLhsl(263, 50%, 27%)
HSVhsv(263, 67%, 40%)
CMYKcmyk(41.7%, 67%, 0%, 59.6%)
CIE-LABlab(20.38, 29.08, -36.18)
CIE-LCHlch(20.38, 46.42, 308.79°)
OKLaboklab(32.61% 0.0522 -0.1031)
OKLCHoklch(32.61% 0.116 296.8)
XYZxyz(4.8831, 3.0839, 13.1673)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2267 #4D6722
analogous
#222B67 #3C2267 #5F2267
triadic
#3C2267 #673C22 #22673C
tetradic
#3C2267 #67222B #4D6722 #22675F
square
#3C2267 #67222B #4D6722 #22675F
split-complementary
#3C2267 #675F22 #2B6722
monochromatic
#0D0817 #211339 #3C2267 #573195 #7243C1

Accessibility & contrast

On white

12.99
#3C2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3C2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2267
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2267#FFFFFF#000000##FFFFFF
##3C22671.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#313241
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c2267;
/* rgb */ color: rgb(60, 34, 103);
/* oklch */ color: oklch(32.6% 0.116 296.8);
Tailwind
colors: {
  custom: {
    50: '#765f93',
    500: '#3c2267',
    950: '#000000',
  },
}
SCSS
$custom: #3c2267;
$custom-light: #765f93;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2267",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 262.609,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32612,
    "c": 0.11553,
    "h": 296.8
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#3C2267
secondary
#7C9B4A
accent
#DA4EA5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C2267

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

Preview Lab → · Contrast checker → · Palette generator →

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