#3F366B#3F366B

#3F366B is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.0% C 0.089 H 289.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3F366B
RGBrgb(63, 54, 107)
HSLhsl(250, 33%, 32%)
HSVhsv(250, 50%, 42%)
CMYKcmyk(41.1%, 49.5%, 0%, 58%)
CIE-LABlab(26.03, 18.17, -29.69)
CIE-LCHlch(26.03, 34.81, 301.47°)
OKLaboklab(36.96% 0.0291 -0.0839)
OKLCHoklch(36.96% 0.089 289.1)
XYZxyz(6.0222, 4.7565, 14.5079)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F366B #626B36
analogous
#36486B #3F366B #5A366B
triadic
#3F366B #6B3F36 #366B3F
tetradic
#3F366B #6B3648 #626B36 #366B5A
square
#3F366B #6B3648 #626B36 #366B5A
split-complementary
#3F366B #6B5A36 #486B36
monochromatic
#0F0D1A #272142 #3F366B #574B94 #7568B3

Accessibility & contrast

On white

10.76
#3F366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F366B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F366B#FFFFFF#000000##FFFFFF
##3F366B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6D
Deuteranopia (green-blind)
#233C6A
Tritanopia (blue-blind)
#33414B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f366b;
/* rgb */ color: rgb(63, 54, 107);
/* oklch */ color: oklch(37.0% 0.089 289.1);
Tailwind
colors: {
  custom: {
    50: '#776d96',
    500: '#3f366b',
    950: '#000000',
  },
}
SCSS
$custom: #3f366b;
$custom-light: #776d96;
$custom-dark: #000000;
JSON
{
  "hex": "#3f366b",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 250.189,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3696,
    "c": 0.08878,
    "h": 289.1
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#3F366B
secondary
#929C61
accent
#C95FB7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #3F366B

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

Preview Lab → · Contrast checker → · Palette generator →

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