#3B124F#3B124F

#3B124F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.109 H 312.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#3B124F
RGBrgb(59, 18, 79)
HSLhsl(280, 63%, 19%)
HSVhsv(280, 77%, 31%)
CMYKcmyk(25.3%, 77.2%, 0%, 69%)
CIE-LABlab(15.10, 31.20, -28.68)
CIE-LCHlch(15.10, 42.38, 317.41°)
OKLaboklab(28.19% 0.0736 -0.081)
OKLCHoklch(28.19% 0.109 312.2)
XYZxyz(3.4310, 1.9270, 7.5868)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B124F #264F12
analogous
#1D124F #3B124F #4F1245
triadic
#3B124F #4F3B12 #124F3B
tetradic
#3B124F #4F1D12 #264F12 #12454F
square
#3B124F #4F1D12 #264F12 #12454F
split-complementary
#3B124F #454F12 #124F1D
monochromatic
#130619 #16071D #3B124F #601D81 #8529B3

Accessibility & contrast

On white

15.16
#3B124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3B124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B124F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B124F#FFFFFF#000000##FFFFFF
##3B124F1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#391F2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b124f;
/* rgb */ color: rgb(59, 18, 79);
/* oklch */ color: oklch(28.2% 0.109 312.2);
Tailwind
colors: {
  custom: {
    50: '#745481',
    500: '#3b124f',
    950: '#000000',
  },
}
SCSS
$custom: #3b124f;
$custom-light: #745481;
$custom-dark: #000000;
JSON
{
  "hex": "#3b124f",
  "rgb": {
    "r": 59,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 280.328,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28187,
    "c": 0.10941,
    "h": 312.2
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#3B124F
secondary
#508835
accent
#E64278
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B124F

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

Preview Lab → · Contrast checker → · Palette generator →

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