#3B268B#3B268B

#3B268B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.157 H 285.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#3B268B
RGBrgb(59, 38, 139)
HSLhsl(252, 57%, 35%)
HSVhsv(252, 73%, 55%)
CMYKcmyk(57.6%, 72.7%, 0%, 45.5%)
CIE-LABlab(24.26, 37.60, -52.82)
CIE-LCHlch(24.26, 64.83, 305.45°)
OKLaboklab(36.35% 0.0407 -0.152)
OKLCHoklch(36.35% 0.157 285)
XYZxyz(7.1555, 4.1797, 24.8508)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B268B #768B26
analogous
#26448B #3B268B #6D268B
triadic
#3B268B #8B3B26 #268B3B
tetradic
#3B268B #8B2644 #768B26 #268B6D
square
#3B268B #8B2644 #768B26 #268B6D
split-complementary
#3B268B #8B6D26 #448B26
monochromatic
#120C2B #27195B #3B268B #4F33BB #735AD2

Accessibility & contrast

On white

11.44
#3B268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3B268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B268B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B268B#FFFFFF#000000##FFFFFF
##3B268B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#154156
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b268b;
/* rgb */ color: rgb(59, 38, 139);
/* oklch */ color: oklch(36.3% 0.157 285.0);
Tailwind
colors: {
  custom: {
    50: '#7a62ae',
    500: '#3b268b',
    950: '#000000',
  },
}
SCSS
$custom: #3b268b;
$custom-light: #7a62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3b268b",
  "rgb": {
    "r": 59,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 252.475,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36346,
    "c": 0.15734,
    "h": 285
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#3B268B
secondary
#A3B756
accent
#E047C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3B268B

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

Preview Lab → · Contrast checker → · Palette generator →

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