#3B249F#3B249F

#3B249F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.184 H 281.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3B249F
RGBrgb(59, 36, 159)
HSLhsl(251, 63%, 38%)
HSVhsv(251, 77%, 62%)
CMYKcmyk(62.9%, 77.4%, 0%, 37.6%)
CIE-LABlab(25.84, 44.89, -62.52)
CIE-LCHlch(25.84, 76.97, 305.68°)
OKLaboklab(38.07% 0.0374 -0.1804)
OKLCHoklch(38.07% 0.184 281.7)
XYZxyz(8.6906, 4.6941, 33.2423)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B249F #889F24
analogous
#244A9F #3B249F #79249F
triadic
#3B249F #9F3B24 #249F3B
tetradic
#3B249F #9F244A #889F24 #249F79
square
#3B249F #9F244A #889F24 #249F79
split-complementary
#3B249F #9F7924 #4A9F24
monochromatic
#160D3B #28196D #3B249F #4E30D0 #7962DB

Accessibility & contrast

On white

10.83
#3B249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3B249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B249F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B249F#FFFFFF#000000##FFFFFF
##3B249F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b249f;
/* rgb */ color: rgb(59, 36, 159);
/* oklch */ color: oklch(38.1% 0.184 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e62bd',
    500: '#3b249f',
    950: '#000000',
  },
}
SCSS
$custom: #3b249f;
$custom-light: #7e62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b249f",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 251.22,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.18419,
    "h": 281.7
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#3B249F
secondary
#AEC15E
accent
#E642C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B249F

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

Preview Lab → · Contrast checker → · Palette generator →

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