#3B2285#3B2285

#3B2285 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.154 H 287.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#3B2285
RGBrgb(59, 34, 133)
HSLhsl(255, 59%, 33%)
HSVhsv(255, 74%, 52%)
CMYKcmyk(55.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.89, 37.98, -51.31)
CIE-LCHlch(22.89, 63.84, 306.51°)
OKLaboklab(35.2% 0.0455 -0.1475)
OKLCHoklch(35.2% 0.154 287.1)
XYZxyz(6.6080, 3.7670, 22.5647)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2285 #6C8522
analogous
#223A85 #3B2285 #6D2285
triadic
#3B2285 #853B22 #22853B
tetradic
#3B2285 #85223A #6C8522 #22856D
square
#3B2285 #85223A #6C8522 #22856D
split-complementary
#3B2285 #856D22 #3A8522
monochromatic
#100924 #251654 #3B2285 #512EB6 #704FD2

Accessibility & contrast

On white

11.98
#3B2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3B2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2285
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2285#FFFFFF#000000##FFFFFF
##3B22851.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#1C3D51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b2285;
/* rgb */ color: rgb(59, 34, 133);
/* oklch */ color: oklch(35.2% 0.154 287.1);
Tailwind
colors: {
  custom: {
    50: '#7960a9',
    500: '#3b2285',
    950: '#000000',
  },
}
SCSS
$custom: #3b2285;
$custom-light: #7960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2285",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 255.152,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35198,
    "c": 0.15441,
    "h": 287.1
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#3B2285
secondary
#9BB64D
accent
#E245BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3B2285

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

Preview Lab → · Contrast checker → · Palette generator →

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