#3F355F#3F355F

#3F355F is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.0% C 0.072 H 293.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3F355F
RGBrgb(63, 53, 95)
HSLhsl(254, 28%, 29%)
HSVhsv(254, 44%, 37%)
CMYKcmyk(33.7%, 44.2%, 0%, 62.7%)
CIE-LABlab(25.04, 15.17, -23.49)
CIE-LCHlch(25.04, 27.96, 302.85°)
OKLaboklab(35.98% 0.0285 -0.0658)
OKLCHoklch(35.98% 0.072 293.4)
XYZxyz(5.3880, 4.4291, 11.3953)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F355F #555F35
analogous
#35405F #3F355F #54355F
triadic
#3F355F #5F3F35 #355F3F
tetradic
#3F355F #5F3540 #555F35 #355F54
square
#3F355F #5F3540 #555F35 #355F54
split-complementary
#3F355F #5F5435 #405F35
monochromatic
#0D0B14 #251F38 #3F355F #594B86 #7565A9

Accessibility & contrast

On white

11.14
#3F355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3F355F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F355F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F355F#FFFFFF#000000##FFFFFF
##3F355F1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#383D45
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f355f;
/* rgb */ color: rgb(63, 53, 95);
/* oklch */ color: oklch(36.0% 0.072 293.4);
Tailwind
colors: {
  custom: {
    50: '#756c8c',
    500: '#3f355f',
    950: '#000000',
  },
}
SCSS
$custom: #3f355f;
$custom-light: #756c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f355f",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 254.286,
    "s": 28.378,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.07172,
    "h": 293.4
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#3F355F
secondary
#849060
accent
#C563AD
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08070C
muted
#7B7A7D

Preview Lab

Preview with #3F355F

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

Preview Lab → · Contrast checker → · Palette generator →

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