#3F246A#3F246A

#3F246A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.117 H 297.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#3F246A
RGBrgb(63, 36, 106)
HSLhsl(263, 49%, 28%)
HSVhsv(263, 66%, 42%)
CMYKcmyk(40.6%, 66%, 0%, 58.4%)
CIE-LABlab(21.43, 29.47, -36.42)
CIE-LCHlch(21.43, 46.85, 308.98°)
OKLaboklab(33.53% 0.0539 -0.1037)
OKLCHoklch(33.53% 0.117 297.5)
XYZxyz(5.2816, 3.3590, 14.0030)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F246A #4F6A24
analogous
#242C6A #3F246A #62246A
triadic
#3F246A #6A3F24 #246A3F
tetradic
#3F246A #6A242C #4F6A24 #246A62
square
#3F246A #6A242C #4F6A24 #246A62
split-complementary
#3F246A #6A6224 #2C6A24
monochromatic
#0E0817 #24143C #3F246A #5A3498 #7648C1

Accessibility & contrast

On white

12.56
#3F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F246A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F246A#FFFFFF#000000##FFFFFF
##3F246A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#023368
Tritanopia (blue-blind)
#353443
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f246a;
/* rgb */ color: rgb(63, 36, 106);
/* oklch */ color: oklch(33.5% 0.117 297.5);
Tailwind
colors: {
  custom: {
    50: '#786095',
    500: '#3f246a',
    950: '#000000',
  },
}
SCSS
$custom: #3f246a;
$custom-light: #786095;
$custom-dark: #000000;
JSON
{
  "hex": "#3f246a",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 263.143,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33533,
    "c": 0.11686,
    "h": 297.5
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#3F246A
secondary
#7E9D4D
accent
#D94FA4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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