#3F246F#3F246F

#3F246F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.9% C 0.123 H 295.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#3F246F
RGBrgb(63, 36, 111)
HSLhsl(262, 51%, 29%)
HSVhsv(262, 68%, 44%)
CMYKcmyk(43.2%, 67.6%, 0%, 56.5%)
CIE-LABlab(21.82, 30.95, -39.02)
CIE-LCHlch(21.82, 49.80, 308.42°)
OKLaboklab(33.94% 0.0534 -0.1113)
OKLCHoklch(33.94% 0.123 295.6)
XYZxyz(5.5493, 3.4661, 15.4125)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F246F #546F24
analogous
#242F6F #3F246F #65246F
triadic
#3F246F #6F3F24 #246F3F
tetradic
#3F246F #6F242F #546F24 #246F65
square
#3F246F #6F242F #546F24 #246F65
split-complementary
#3F246F #6F6524 #2F6F24
monochromatic
#0D0717 #251541 #3F246F #59339D #7649C4

Accessibility & contrast

On white

12.40
#3F246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F246F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F246F#FFFFFF#000000##FFFFFF
##3F246F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#333546
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f246f;
/* rgb */ color: rgb(63, 36, 111);
/* oklch */ color: oklch(33.9% 0.123 295.6);
Tailwind
colors: {
  custom: {
    50: '#786099',
    500: '#3f246f',
    950: '#000000',
  },
}
SCSS
$custom: #3f246f;
$custom-light: #786099;
$custom-dark: #000000;
JSON
{
  "hex": "#3f246f",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 261.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.12349,
    "h": 295.6
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#3F246F
secondary
#83A24D
accent
#DA4DA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3F246F

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

Preview Lab → · Contrast checker → · Palette generator →

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