#3B249C#3B249C

#3B249C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.181 H 282.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3B249C
RGBrgb(59, 36, 156)
HSLhsl(252, 63%, 38%)
HSVhsv(252, 77%, 61%)
CMYKcmyk(62.2%, 76.9%, 0%, 38.8%)
CIE-LABlab(25.54, 43.97, -61.20)
CIE-LCHlch(25.54, 75.36, 305.70°)
OKLaboklab(37.76% 0.0382 -0.1765)
OKLCHoklch(37.76% 0.181 282.2)
XYZxyz(8.4334, 4.5913, 31.8878)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B249C #859C24
analogous
#24499C #3B249C #77249C
triadic
#3B249C #9C3B24 #249C3B
tetradic
#3B249C #9C2449 #859C24 #249C77
square
#3B249C #9C2449 #859C24 #249C77
split-complementary
#3B249C #9C7724 #499C24
monochromatic
#150D39 #28196A #3B249C #4E2FCE #7860DA

Accessibility & contrast

On white

10.95
#3B249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3B249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B249C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B249C#FFFFFF#000000##FFFFFF
##3B249C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3b249c;
/* rgb */ color: rgb(59, 36, 156);
/* oklch */ color: oklch(37.8% 0.181 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e62ba',
    500: '#3b249c',
    950: '#000000',
  },
}
SCSS
$custom: #3b249c;
$custom-light: #7e62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3b249c",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 251.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.18058,
    "h": 282.2
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#3B249C
secondary
#ACBF5C
accent
#E642C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B249C

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

Preview Lab → · Contrast checker → · Palette generator →

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