#3C239E#3C239E

#3C239E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.184 H 282.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#3C239E
RGBrgb(60, 35, 158)
HSLhsl(252, 64%, 38%)
HSVhsv(252, 78%, 62%)
CMYKcmyk(62%, 77.8%, 0%, 38%)
CIE-LABlab(25.66, 45.22, -62.22)
CIE-LCHlch(25.66, 76.92, 306.00°)
OKLaboklab(37.92% 0.0398 -0.1794)
OKLCHoklch(37.92% 0.184 282.5)
XYZxyz(8.6341, 4.6307, 32.7800)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C239E #859E23
analogous
#23479E #3C239E #79239E
triadic
#3C239E #9E3C23 #239E3C
tetradic
#3C239E #9E2347 #859E23 #239E79
square
#3C239E #9E2347 #859E23 #239E79
split-complementary
#3C239E #9E7923 #479E23
monochromatic
#160D3A #29186C #3C239E #4F2ED0 #7960DC

Accessibility & contrast

On white

10.90
#3C239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C239E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C239E#FFFFFF#000000##FFFFFF
##3C239E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c239e;
/* rgb */ color: rgb(60, 35, 158);
/* oklch */ color: oklch(37.9% 0.184 282.5);
Tailwind
colors: {
  custom: {
    50: '#7f62bc',
    500: '#3c239e',
    950: '#000000',
  },
}
SCSS
$custom: #3c239e;
$custom-light: #7f62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c239e",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 252.195,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.1838,
    "h": 282.5
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#3C239E
secondary
#ACC15C
accent
#E741C5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C239E

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

Preview Lab → · Contrast checker → · Palette generator →

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