#3B249D#3B249D

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

Color values

HEX#3B249D
RGBrgb(59, 36, 157)
HSLhsl(251, 63%, 38%)
HSVhsv(251, 77%, 62%)
CMYKcmyk(62.4%, 77.1%, 0%, 38.4%)
CIE-LABlab(25.64, 44.28, -61.64)
CIE-LCHlch(25.64, 75.90, 305.69°)
OKLaboklab(37.86% 0.0379 -0.1778)
OKLCHoklch(37.86% 0.182 282)
XYZxyz(8.5184, 4.6253, 32.3356)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B249D #869D24
analogous
#24499D #3B249D #77249D
triadic
#3B249D #9D3B24 #249D3B
tetradic
#3B249D #9D2449 #869D24 #249D77
square
#3B249D #9D2449 #869D24 #249D77
split-complementary
#3B249D #9D7724 #499D24
monochromatic
#160D39 #28196B #3B249D #4E2FCF #7861DB

Accessibility & contrast

On white

10.91
#3B249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B249D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B249D#FFFFFF#000000##FFFFFF
##3B249D1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b249d;
/* rgb */ color: rgb(59, 36, 157);
/* oklch */ color: oklch(37.9% 0.182 282.0);
Tailwind
colors: {
  custom: {
    50: '#7e62bb',
    500: '#3b249d',
    950: '#000000',
  },
}
SCSS
$custom: #3b249d;
$custom-light: #7e62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b249d",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 251.405,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.18179,
    "h": 282
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#3B249D
secondary
#ADC05D
accent
#E642C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B249D

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

Preview Lab → · Contrast checker → · Palette generator →

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