#3F366A#3F366A

#3F366A is a dark, moderate violet. Relative luminance 0.047; OKLCH L 36.9% C 0.087 H 289.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3F366A
RGBrgb(63, 54, 106)
HSLhsl(250, 33%, 31%)
HSVhsv(250, 49%, 42%)
CMYKcmyk(40.6%, 49.1%, 0%, 58.4%)
CIE-LABlab(25.97, 17.86, -29.14)
CIE-LCHlch(25.97, 34.18, 301.50°)
OKLaboklab(36.89% 0.0289 -0.0823)
OKLCHoklch(36.89% 0.087 289.4)
XYZxyz(5.9699, 4.7355, 14.2324)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F366A #616A36
analogous
#36476A #3F366A #59366A
triadic
#3F366A #6A3F36 #366A3F
tetradic
#3F366A #6A3647 #616A36 #366A59
square
#3F366A #6A3647 #616A36 #366A59
split-complementary
#3F366A #6A5936 #476A36
monochromatic
#0F0D19 #272141 #3F366A #574B93 #7568B2

Accessibility & contrast

On white

10.78
#3F366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F366A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F366A#FFFFFF#000000##FFFFFF
##3F366A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#233C69
Tritanopia (blue-blind)
#34404B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f366a;
/* rgb */ color: rgb(63, 54, 106);
/* oklch */ color: oklch(36.9% 0.087 289.4);
Tailwind
colors: {
  custom: {
    50: '#766d95',
    500: '#3f366a',
    950: '#000000',
  },
}
SCSS
$custom: #3f366a;
$custom-light: #766d95;
$custom-dark: #000000;
JSON
{
  "hex": "#3f366a",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 250.385,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36894,
    "c": 0.08723,
    "h": 289.4
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#3F366A
secondary
#919B61
accent
#C95FB6
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #3F366A

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

Preview Lab → · Contrast checker → · Palette generator →

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