#3B236A#3B236A

#3B236A is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.118 H 294.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3B236A
RGBrgb(59, 35, 106)
HSLhsl(260, 50%, 28%)
HSVhsv(260, 67%, 42%)
CMYKcmyk(44.3%, 67%, 0%, 58.4%)
CIE-LABlab(20.72, 29.13, -37.59)
CIE-LCHlch(20.72, 47.56, 307.78°)
OKLaboklab(32.91% 0.0491 -0.1072)
OKLCHoklch(32.91% 0.118 294.6)
XYZxyz(5.0055, 3.1724, 13.9815)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B236A #526A23
analogous
#232E6A #3B236A #5F236A
triadic
#3B236A #6A3B23 #236A3B
tetradic
#3B236A #6A232E #526A23 #236A5F
square
#3B236A #6A232E #526A23 #236A5F
split-complementary
#3B236A #6A5F23 #2E6A23
monochromatic
#0D0817 #21143C #3B236A #553298 #7046C2

Accessibility & contrast

On white

12.85
#3B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B236A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B236A#FFFFFF#000000##FFFFFF
##3B236A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#2E3343
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3b236a;
/* rgb */ color: rgb(59, 35, 106);
/* oklch */ color: oklch(32.9% 0.118 294.6);
Tailwind
colors: {
  custom: {
    50: '#755f95',
    500: '#3b236a',
    950: '#000000',
  },
}
SCSS
$custom: #3b236a;
$custom-light: #755f95;
$custom-dark: #000000;
JSON
{
  "hex": "#3b236a",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 260.282,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.11795,
    "h": 294.6
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#3B236A
secondary
#829D4B
accent
#DA4EAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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