#3C269E#3C269E

#3C269E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.181 H 282.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3C269E
RGBrgb(60, 38, 158)
HSLhsl(251, 61%, 38%)
HSVhsv(251, 76%, 62%)
CMYKcmyk(62%, 75.9%, 0%, 38%)
CIE-LABlab(26.20, 43.66, -61.33)
CIE-LCHlch(26.20, 75.28, 305.45°)
OKLaboklab(38.31% 0.0378 -0.1768)
OKLCHoklch(38.31% 0.181 282.1)
XYZxyz(8.7262, 4.8149, 32.8107)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C269E #889E26
analogous
#264C9E #3C269E #78269E
triadic
#3C269E #9E3C26 #269E3C
tetradic
#3C269E #9E264C #889E26 #269E78
square
#3C269E #9E264C #889E26 #269E78
split-complementary
#3C269E #9E7826 #4C9E26
monochromatic
#170E3B #291A6D #3C269E #5033CE #7A65DA

Accessibility & contrast

On white

10.70
#3C269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C269E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C269E#FFFFFF#000000##FFFFFF
##3C269E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c269e;
/* rgb */ color: rgb(60, 38, 158);
/* oklch */ color: oklch(38.3% 0.181 282.1);
Tailwind
colors: {
  custom: {
    50: '#7e63bc',
    500: '#3c269e',
    950: '#000000',
  },
}
SCSS
$custom: #3c269e;
$custom-light: #7e63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c269e",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 251,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38307,
    "c": 0.18084,
    "h": 282.1
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#3C269E
secondary
#AEC060
accent
#E443C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C269E

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

Preview Lab → · Contrast checker → · Palette generator →

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