#3F247B#3F247B

#3F247B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.139 H 291.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#3F247B
RGBrgb(63, 36, 123)
HSLhsl(259, 55%, 31%)
HSVhsv(259, 71%, 48%)
CMYKcmyk(48.8%, 70.7%, 0%, 51.8%)
CIE-LABlab(22.82, 34.53, -45.08)
CIE-LCHlch(22.82, 56.79, 307.45°)
OKLaboklab(34.98% 0.0518 -0.1291)
OKLCHoklch(34.98% 0.139 291.8)
XYZxyz(6.2549, 3.7484, 19.1290)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F247B #607B24
analogous
#24347B #3F247B #6A247B
triadic
#3F247B #7B3F24 #247B3F
tetradic
#3F247B #7B2434 #607B24 #247B6A
square
#3F247B #7B2434 #607B24 #247B6A
split-complementary
#3F247B #7B6A24 #347B24
monochromatic
#0F081C #27164C #3F247B #5732AA #754ECB

Accessibility & contrast

On white

12.00
#3F247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3F247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F247B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F247B#FFFFFF#000000##FFFFFF
##3F247B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#2C3A4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f247b;
/* rgb */ color: rgb(63, 36, 123);
/* oklch */ color: oklch(35.0% 0.139 291.8);
Tailwind
colors: {
  custom: {
    50: '#7a61a2',
    500: '#3f247b',
    950: '#000000',
  },
}
SCSS
$custom: #3f247b;
$custom-light: #7a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f247b",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 258.621,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.13913,
    "h": 291.8
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#3F247B
secondary
#90AD4D
accent
#DE4AB0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F247B

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

Preview Lab → · Contrast checker → · Palette generator →

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