#3C269C#3C269C

#3C269C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.178 H 282.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3C269C
RGBrgb(60, 38, 156)
HSLhsl(251, 61%, 38%)
HSVhsv(251, 76%, 61%)
CMYKcmyk(61.5%, 75.6%, 0%, 38.8%)
CIE-LABlab(26.00, 43.05, -60.43)
CIE-LCHlch(26.00, 74.20, 305.46°)
OKLaboklab(38.1% 0.0383 -0.1742)
OKLCHoklch(38.1% 0.178 282.4)
XYZxyz(8.5555, 4.7466, 31.9114)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C269C #869C26
analogous
#264B9C #3C269C #77269C
triadic
#3C269C #9C3C26 #269C3C
tetradic
#3C269C #9C264B #869C26 #269C77
square
#3C269C #9C264B #869C26 #269C77
split-complementary
#3C269C #9C7726 #4B9C26
monochromatic
#160E3A #291A6B #3C269C #4F32CD #7963D9

Accessibility & contrast

On white

10.77
#3C269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C269C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C269C#FFFFFF#000000##FFFFFF
##3C269C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c269c;
/* rgb */ color: rgb(60, 38, 156);
/* oklch */ color: oklch(38.1% 0.178 282.4);
Tailwind
colors: {
  custom: {
    50: '#7e63ba',
    500: '#3c269c',
    950: '#000000',
  },
}
SCSS
$custom: #3c269c;
$custom-light: #7e63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c269c",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 251.186,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38105,
    "c": 0.17841,
    "h": 282.4
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C269C

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

Preview Lab → · Contrast checker → · Palette generator →

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