#3D247F#3D247F

#3D247F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.144 H 289.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3D247F
RGBrgb(61, 36, 127)
HSLhsl(256, 56%, 32%)
HSVhsv(256, 72%, 50%)
CMYKcmyk(52%, 71.7%, 0%, 50.2%)
CIE-LABlab(22.95, 35.37, -47.41)
CIE-LCHlch(22.95, 59.15, 306.72°)
OKLaboklab(35.13% 0.048 -0.1361)
OKLCHoklch(35.13% 0.144 289.4)
XYZxyz(6.3850, 3.7859, 20.4689)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D247F #667F24
analogous
#24387F #3D247F #6B247F
triadic
#3D247F #7F3D24 #247F3D
tetradic
#3D247F #7F2438 #667F24 #247F6B
square
#3D247F #7F2438 #667F24 #247F6B
split-complementary
#3D247F #7F6B24 #387F24
monochromatic
#0F0920 #26164F #3D247F #5432AF #7250CD

Accessibility & contrast

On white

11.95
#3D247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3D247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D247F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D247F#FFFFFF#000000##FFFFFF
##3D247F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#263B4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d247f;
/* rgb */ color: rgb(61, 36, 127);
/* oklch */ color: oklch(35.1% 0.144 289.4);
Tailwind
colors: {
  custom: {
    50: '#7961a5',
    500: '#3d247f',
    950: '#000000',
  },
}
SCSS
$custom: #3d247f;
$custom-light: #7961a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d247f",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 256.484,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.14427,
    "h": 289.4
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#3D247F
secondary
#96B14E
accent
#DF49B6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D247F

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

Preview Lab → · Contrast checker → · Palette generator →

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