#3B259F#3B259F

#3B259F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.183 H 281.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3B259F
RGBrgb(59, 37, 159)
HSLhsl(251, 62%, 38%)
HSVhsv(251, 77%, 62%)
CMYKcmyk(62.9%, 76.7%, 0%, 37.6%)
CIE-LABlab(26.03, 44.37, -62.23)
CIE-LCHlch(26.03, 76.42, 305.49°)
OKLaboklab(38.19% 0.0367 -0.1795)
OKLCHoklch(38.19% 0.183 281.6)
XYZxyz(8.7212, 4.7555, 33.2525)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B259F #899F25
analogous
#254C9F #3B259F #78259F
triadic
#3B259F #9F3B25 #259F3B
tetradic
#3B259F #9F254C #899F25 #259F78
square
#3B259F #9F254C #899F25 #259F78
split-complementary
#3B259F #9F7825 #4C9F25
monochromatic
#160E3C #29196D #3B259F #4E32CF #7964DB

Accessibility & contrast

On white

10.76
#3B259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3B259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B259F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B259F#FFFFFF#000000##FFFFFF
##3B259F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b259f;
/* rgb */ color: rgb(59, 37, 159);
/* oklch */ color: oklch(38.2% 0.183 281.6);
Tailwind
colors: {
  custom: {
    50: '#7e63bd',
    500: '#3b259f',
    950: '#000000',
  },
}
SCSS
$custom: #3b259f;
$custom-light: #7e63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b259f",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 250.82,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.18322,
    "h": 281.6
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#3B259F
secondary
#AFC05F
accent
#E542C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B259F

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

Preview Lab → · Contrast checker → · Palette generator →

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