#3B248F#3B248F

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

Color values

HEX#3B248F
RGBrgb(59, 36, 143)
HSLhsl(253, 60%, 35%)
HSVhsv(253, 75%, 56%)
CMYKcmyk(58.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(24.24, 39.97, -55.33)
CIE-LCHlch(24.24, 68.26, 305.84°)
OKLaboklab(36.45% 0.0415 -0.1593)
OKLCHoklch(36.45% 0.165 284.6)
XYZxyz(7.3909, 4.1743, 26.3975)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B248F #788F24
analogous
#24438F #3B248F #70248F
triadic
#3B248F #8F3B24 #248F3B
tetradic
#3B248F #8F2443 #788F24 #248F70
square
#3B248F #8F2443 #788F24 #248F70
split-complementary
#3B248F #8F7024 #438F24
monochromatic
#130B2D #27185E #3B248F #4F30C0 #7358D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B248F#FFFFFF#000000##FFFFFF
##3B248F1.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)
#003D92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#0E4157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b248f;
/* rgb */ color: rgb(59, 36, 143);
/* oklch */ color: oklch(36.4% 0.165 284.6);
Tailwind
colors: {
  custom: {
    50: '#7b61b1',
    500: '#3b248f',
    950: '#000000',
  },
}
SCSS
$custom: #3b248f;
$custom-light: #7b61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b248f",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 252.897,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.16465,
    "h": 284.6
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#3B248F
secondary
#A4B955
accent
#E345C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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