#3B259B#3B259B

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

Color values

HEX#3B259B
RGBrgb(59, 37, 155)
HSLhsl(251, 61%, 38%)
HSVhsv(251, 76%, 61%)
CMYKcmyk(61.9%, 76.1%, 0%, 39.2%)
CIE-LABlab(25.62, 43.14, -60.45)
CIE-LCHlch(25.62, 74.27, 305.51°)
OKLaboklab(37.79% 0.0378 -0.1743)
OKLCHoklch(37.79% 0.178 282.2)
XYZxyz(8.3797, 4.6189, 31.4540)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B259B #859B25
analogous
#254A9B #3B259B #76259B
triadic
#3B259B #9B3B25 #259B3B
tetradic
#3B259B #9B254A #859B25 #259B76
square
#3B259B #9B254A #859B25 #259B76
split-complementary
#3B259B #9B7625 #4A9B25
monochromatic
#150D38 #28196A #3B259B #4E31CC #7861D9

Accessibility & contrast

On white

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

On black

1.92
#3B259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3B259B#FFFFFF#000000##FFFFFF
##3B259B1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b259b;
/* rgb */ color: rgb(59, 37, 155);
/* oklch */ color: oklch(37.8% 0.178 282.2);
Tailwind
colors: {
  custom: {
    50: '#7d63ba',
    500: '#3b259b',
    950: '#000000',
  },
}
SCSS
$custom: #3b259b;
$custom-light: #7d63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3b259b",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 251.186,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.17836,
    "h": 282.2
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#3B259B
secondary
#ACBF5D
accent
#E543C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B259B

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

Preview Lab → · Contrast checker → · Palette generator →

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