#3F246E#3F246E

#3F246E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.122 H 296.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#3F246E
RGBrgb(63, 36, 110)
HSLhsl(262, 51%, 29%)
HSVhsv(262, 67%, 43%)
CMYKcmyk(42.7%, 67.3%, 0%, 56.9%)
CIE-LABlab(21.74, 30.65, -38.51)
CIE-LCHlch(21.74, 49.22, 308.52°)
OKLaboklab(33.86% 0.0536 -0.1098)
OKLCHoklch(33.86% 0.122 296)
XYZxyz(5.4945, 3.4442, 15.1241)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F246E #536E24
analogous
#242E6E #3F246E #64246E
triadic
#3F246E #6E3F24 #246E3F
tetradic
#3F246E #6E242E #536E24 #246E64
square
#3F246E #6E242E #536E24 #246E64
split-complementary
#3F246E #6E6424 #2E6E24
monochromatic
#0D0817 #251540 #3F246E #59339C #7649C3

Accessibility & contrast

On white

12.43
#3F246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3F246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F246E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F246E#FFFFFF#000000##FFFFFF
##3F246E1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#333545
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f246e;
/* rgb */ color: rgb(63, 36, 110);
/* oklch */ color: oklch(33.9% 0.122 296.0);
Tailwind
colors: {
  custom: {
    50: '#786098',
    500: '#3f246e',
    950: '#000000',
  },
}
SCSS
$custom: #3f246e;
$custom-light: #786098;
$custom-dark: #000000;
JSON
{
  "hex": "#3f246e",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 261.892,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33859,
    "c": 0.12217,
    "h": 296
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#3F246E
secondary
#82A14D
accent
#DA4EA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3F246E

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

Preview Lab → · Contrast checker → · Palette generator →

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