#3C269D#3C269D

#3C269D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.180 H 282.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3C269D
RGBrgb(60, 38, 157)
HSLhsl(251, 61%, 38%)
HSVhsv(251, 76%, 62%)
CMYKcmyk(61.8%, 75.8%, 0%, 38.4%)
CIE-LABlab(26.10, 43.35, -60.88)
CIE-LCHlch(26.10, 74.74, 305.46°)
OKLaboklab(38.21% 0.0381 -0.1756)
OKLCHoklch(38.21% 0.18 282.2)
XYZxyz(8.6405, 4.7806, 32.3592)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C269D #879D26
analogous
#264C9D #3C269D #77269D
triadic
#3C269D #9D3C26 #269D3C
tetradic
#3C269D #9D264C #879D26 #269D77
square
#3C269D #9D264C #879D26 #269D77
split-complementary
#3C269D #9D7726 #4C9D26
monochromatic
#160E3A #291A6C #3C269D #4F33CE #7A64D9

Accessibility & contrast

On white

10.74
#3C269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C269D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C269D#FFFFFF#000000##FFFFFF
##3C269D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c269d;
/* rgb */ color: rgb(60, 38, 157);
/* oklch */ color: oklch(38.2% 0.180 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e63bb',
    500: '#3c269d',
    950: '#000000',
  },
}
SCSS
$custom: #3c269d;
$custom-light: #7e63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c269d",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 251.092,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38206,
    "c": 0.17963,
    "h": 282.2
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#3C269D
secondary
#ADBF60
accent
#E444C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C269D

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

Preview Lab → · Contrast checker → · Palette generator →

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