#3C239B#3C239B

#3C239B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.180 H 283.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3C239B
RGBrgb(60, 35, 155)
HSLhsl(253, 63%, 37%)
HSVhsv(253, 77%, 61%)
CMYKcmyk(61.3%, 77.4%, 0%, 39.2%)
CIE-LABlab(25.35, 44.31, -60.90)
CIE-LCHlch(25.35, 75.31, 306.04°)
OKLaboklab(37.62% 0.0406 -0.1756)
OKLCHoklch(37.62% 0.18 283)
XYZxyz(8.3791, 4.5287, 31.4366)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C239B #829B23
analogous
#23469B #3C239B #78239B
triadic
#3C239B #9B3C23 #239B3C
tetradic
#3C239B #9B2346 #829B23 #239B78
square
#3C239B #9B2346 #829B23 #239B78
split-complementary
#3C239B #9B7823 #469B23
monochromatic
#150C37 #291869 #3C239B #4F2ECD #785EDB

Accessibility & contrast

On white

11.02
#3C239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C239B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C239B#FFFFFF#000000##FFFFFF
##3C239B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c239b;
/* rgb */ color: rgb(60, 35, 155);
/* oklch */ color: oklch(37.6% 0.180 283.0);
Tailwind
colors: {
  custom: {
    50: '#7e61ba',
    500: '#3c239b',
    950: '#000000',
  },
}
SCSS
$custom: #3c239b;
$custom-light: #7e61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c239b",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 252.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.18021,
    "h": 283
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#3C239B
secondary
#AABF5A
accent
#E642C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C239B

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

Preview Lab → · Contrast checker → · Palette generator →

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