#3B259E#3B259E

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

Color values

HEX#3B259E
RGBrgb(59, 37, 158)
HSLhsl(251, 62%, 38%)
HSVhsv(251, 77%, 62%)
CMYKcmyk(62.7%, 76.6%, 0%, 38%)
CIE-LABlab(25.92, 44.06, -61.78)
CIE-LCHlch(25.92, 75.89, 305.50°)
OKLaboklab(38.09% 0.037 -0.1782)
OKLCHoklch(38.09% 0.182 281.7)
XYZxyz(8.6348, 4.7209, 32.7973)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B259E #889E25
analogous
#254B9E #3B259E #77259E
triadic
#3B259E #9E3B25 #259E3B
tetradic
#3B259E #9E254B #889E25 #259E77
square
#3B259E #9E254B #889E25 #259E77
split-complementary
#3B259E #9E7725 #4B9E25
monochromatic
#160E3B #28196C #3B259E #4E31CF #7963DA

Accessibility & contrast

On white

10.80
#3B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B259E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B259E#FFFFFF#000000##FFFFFF
##3B259E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b259e;
/* rgb */ color: rgb(59, 37, 158);
/* oklch */ color: oklch(38.1% 0.182 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e63bc',
    500: '#3b259e',
    950: '#000000',
  },
}
SCSS
$custom: #3b259e;
$custom-light: #7e63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b259e",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 250.909,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3809,
    "c": 0.18201,
    "h": 281.7
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#3B259E
secondary
#AEC05F
accent
#E543C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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