#3F248F#3F248F

#3F248F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.164 H 286.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3F248F
RGBrgb(63, 36, 143)
HSLhsl(255, 60%, 35%)
HSVhsv(255, 75%, 56%)
CMYKcmyk(55.9%, 74.8%, 0%, 43.9%)
CIE-LABlab(24.64, 40.57, -54.65)
CIE-LCHlch(24.64, 68.07, 306.59°)
OKLaboklab(36.83% 0.0476 -0.1572)
OKLCHoklch(36.83% 0.164 286.8)
XYZxyz(7.6372, 4.3013, 26.4091)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F248F #748F24
analogous
#243F8F #3F248F #74248F
triadic
#3F248F #8F3F24 #248F3F
tetradic
#3F248F #8F243F #748F24 #248F74
square
#3F248F #8F243F #748F24 #248F74
split-complementary
#3F248F #8F7424 #3F8F24
monochromatic
#140B2D #29185E #3F248F #5530C0 #7858D5

Accessibility & contrast

On white

11.29
#3F248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3F248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F248F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F248F#FFFFFF#000000##FFFFFF
##3F248F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#1D4157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f248f;
/* rgb */ color: rgb(63, 36, 143);
/* oklch */ color: oklch(36.8% 0.164 286.8);
Tailwind
colors: {
  custom: {
    50: '#7d62b1',
    500: '#3f248f',
    950: '#000000',
  },
}
SCSS
$custom: #3f248f;
$custom-light: #7d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f248f",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 255.14,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.16426,
    "h": 286.8
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#3F248F
secondary
#A0B955
accent
#E345BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F248F

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

Preview Lab → · Contrast checker → · Palette generator →

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