#3B247C#3B247C

#3B247C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.140 H 288.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3B247C
RGBrgb(59, 36, 124)
HSLhsl(256, 55%, 31%)
HSVhsv(256, 71%, 49%)
CMYKcmyk(52.4%, 71%, 0%, 51.4%)
CIE-LABlab(22.47, 34.07, -46.31)
CIE-LCHlch(22.47, 57.50, 306.34°)
OKLaboklab(34.64% 0.0455 -0.1329)
OKLCHoklch(34.64% 0.14 288.9)
XYZxyz(6.0715, 3.6465, 19.4488)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B247C #657C24
analogous
#24397C #3B247C #67247C
triadic
#3B247C #7C3B24 #247C3B
tetradic
#3B247C #7C2439 #657C24 #247C67
square
#3B247C #7C2439 #657C24 #247C67
split-complementary
#3B247C #7C6724 #397C24
monochromatic
#0E081D #24164D #3B247C #5232AB #6F4FCC

Accessibility & contrast

On white

12.14
#3B247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3B247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B247C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B247C#FFFFFF#000000##FFFFFF
##3B247C1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#243A4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3b247c;
/* rgb */ color: rgb(59, 36, 124);
/* oklch */ color: oklch(34.6% 0.140 288.9);
Tailwind
colors: {
  custom: {
    50: '#7860a3',
    500: '#3b247c',
    950: '#000000',
  },
}
SCSS
$custom: #3b247c;
$custom-light: #7860a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b247c",
  "rgb": {
    "r": 59,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 255.682,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34644,
    "c": 0.14046,
    "h": 288.9
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#3B247C
secondary
#95AE4D
accent
#DE49B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #3B247C

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

Preview Lab → · Contrast checker → · Palette generator →

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