#3B248D#3B248D

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

Color values

HEX#3B248D
RGBrgb(59, 36, 141)
HSLhsl(253, 59%, 35%)
HSVhsv(253, 74%, 55%)
CMYKcmyk(58.2%, 74.5%, 0%, 44.7%)
CIE-LABlab(24.05, 39.35, -54.41)
CIE-LCHlch(24.05, 67.15, 305.88°)
OKLaboklab(36.25% 0.042 -0.1566)
OKLCHoklch(36.25% 0.162 285)
XYZxyz(7.2408, 4.1142, 25.6067)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B248D #768D24
analogous
#24418D #3B248D #70248D
triadic
#3B248D #8D3B24 #248D3B
tetradic
#3B248D #8D2441 #768D24 #248D70
square
#3B248D #8D2441 #768D24 #248D70
split-complementary
#3B248D #8D7024 #418D24
monochromatic
#120B2B #27185C #3B248D #4F30BE #7357D4

Accessibility & contrast

On white

11.52
#3B248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3B248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B248D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B248D#FFFFFF#000000##FFFFFF
##3B248D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#124156
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b248d;
/* rgb */ color: rgb(59, 36, 141);
/* oklch */ color: oklch(36.3% 0.162 285.0);
Tailwind
colors: {
  custom: {
    50: '#7b61af',
    500: '#3b248d',
    950: '#000000',
  },
}
SCSS
$custom: #3b248d;
$custom-light: #7b61af;
$custom-dark: #000000;
JSON
{
  "hex": "#3b248d",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 253.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.16215,
    "h": 285
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#3B248D
secondary
#A3B854
accent
#E345C0
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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