#3F307C#3F307C

#3F307C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.0% C 0.124 H 287.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3F307C
RGBrgb(63, 48, 124)
HSLhsl(252, 44%, 34%)
HSVhsv(252, 61%, 49%)
CMYKcmyk(49.2%, 61.3%, 0%, 51.4%)
CIE-LABlab(25.64, 27.51, -41.14)
CIE-LCHlch(25.64, 49.49, 303.77°)
OKLaboklab(37.05% 0.038 -0.1175)
OKLCHoklch(37.05% 0.124 287.9)
XYZxyz(6.7439, 4.6256, 19.6024)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F307C #6D7C30
analogous
#30477C #3F307C #65307C
triadic
#3F307C #7C3F30 #307C3F
tetradic
#3F307C #7C3047 #6D7C30 #307C65
square
#3F307C #7C3047 #6D7C30 #307C65
split-complementary
#3F307C #7C6530 #477C30
monochromatic
#120E24 #291F50 #3F307C #5541A8 #7664C3

Accessibility & contrast

On white

10.91
#3F307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3F307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F307C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F307C#FFFFFF#000000##FFFFFF
##3F307C1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#2B4151
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f307c;
/* rgb */ color: rgb(63, 48, 124);
/* oklch */ color: oklch(37.0% 0.124 287.9);
Tailwind
colors: {
  custom: {
    50: '#7969a2',
    500: '#3f307c',
    950: '#000000',
  },
}
SCSS
$custom: #3f307c;
$custom-light: #7969a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f307c",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 251.842,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.12351,
    "h": 287.9
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#3F307C
secondary
#9BAA5E
accent
#D454BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3F307C

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

Preview Lab → · Contrast checker → · Palette generator →

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