#3B249A#3B249A

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

Color values

HEX#3B249A
RGBrgb(59, 36, 154)
HSLhsl(252, 62%, 37%)
HSVhsv(252, 77%, 60%)
CMYKcmyk(61.7%, 76.6%, 0%, 39.6%)
CIE-LABlab(25.33, 43.36, -60.31)
CIE-LCHlch(25.33, 74.28, 305.71°)
OKLaboklab(37.55% 0.0387 -0.1739)
OKLCHoklch(37.55% 0.178 282.6)
XYZxyz(8.2654, 4.5241, 31.0033)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B249A #839A24
analogous
#24489A #3B249A #76249A
triadic
#3B249A #9A3B24 #249A3B
tetradic
#3B249A #9A2448 #839A24 #249A76
square
#3B249A #9A2448 #839A24 #249A76
split-complementary
#3B249A #9A7624 #489A24
monochromatic
#150D37 #281868 #3B249A #4E30CC #775FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B249A#FFFFFF#000000##FFFFFF
##3B249A1.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)
#00409D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3b249a;
/* rgb */ color: rgb(59, 36, 154);
/* oklch */ color: oklch(37.6% 0.178 282.6);
Tailwind
colors: {
  custom: {
    50: '#7d62b9',
    500: '#3b249a',
    950: '#000000',
  },
}
SCSS
$custom: #3b249a;
$custom-light: #7d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b249a",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 251.695,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37553,
    "c": 0.17816,
    "h": 282.6
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#3B249A
secondary
#ABBF5B
accent
#E543C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B249A

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

Preview Lab → · Contrast checker → · Palette generator →

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