#3B239A#3B239A

#3B239A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.179 H 282.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#3B239A
RGBrgb(59, 35, 154)
HSLhsl(252, 63%, 37%)
HSVhsv(252, 77%, 60%)
CMYKcmyk(61.7%, 77.3%, 0%, 39.6%)
CIE-LABlab(25.15, 43.88, -60.61)
CIE-LCHlch(25.15, 74.83, 305.90°)
OKLaboklab(37.42% 0.0394 -0.1748)
OKLCHoklch(37.42% 0.179 282.7)
XYZxyz(8.2356, 4.4644, 30.9933)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B239A #829A23
analogous
#23479A #3B239A #77239A
triadic
#3B239A #9A3B23 #239A3B
tetradic
#3B239A #9A2347 #829A23 #239A77
square
#3B239A #9A2347 #829A23 #239A77
split-complementary
#3B239A #9A7723 #479A23
monochromatic
#150C36 #281868 #3B239A #4E2ECC #765DDA

Accessibility & contrast

On white

11.09
#3B239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3B239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B239A
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B239A#FFFFFF#000000##FFFFFF
##3B239A1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3b239a;
/* rgb */ color: rgb(59, 35, 154);
/* oklch */ color: oklch(37.4% 0.179 282.7);
Tailwind
colors: {
  custom: {
    50: '#7d61b9',
    500: '#3b239a',
    950: '#000000',
  },
}
SCSS
$custom: #3b239a;
$custom-light: #7d61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b239a",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 252.101,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.17916,
    "h": 282.7
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#3B239A
secondary
#ABBF5A
accent
#E642C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B239A

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

Preview Lab → · Contrast checker → · Palette generator →

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