#3F264E#3F264E

#3F264E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.9% C 0.075 H 311.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#3F264E
RGBrgb(63, 38, 78)
HSLhsl(278, 34%, 23%)
HSVhsv(278, 51%, 31%)
CMYKcmyk(19.2%, 51.3%, 0%, 69.4%)
CIE-LABlab(20.02, 20.37, -20.13)
CIE-LCHlch(20.02, 28.64, 315.33°)
OKLaboklab(31.89% 0.0498 -0.056)
OKLCHoklch(31.89% 0.075 311.6)
XYZxyz(4.1179, 2.9931, 7.5671)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F264E #354E26
analogous
#2B264E #3F264E #4E2649
triadic
#3F264E #4E3F26 #264E3F
tetradic
#3F264E #4E2B26 #354E26 #26494E
square
#3F264E #4E2B26 #354E26 #26494E
split-complementary
#3F264E #494E26 #264E2B
monochromatic
#110A15 #1E1225 #3F264E #603A77 #814EA0

Accessibility & contrast

On white

13.14
#3F264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3F264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F264E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F264E#FFFFFF#000000##FFFFFF
##3F264E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#3D2C36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f264e;
/* rgb */ color: rgb(63, 38, 78);
/* oklch */ color: oklch(31.9% 0.075 311.6);
Tailwind
colors: {
  custom: {
    50: '#756180',
    500: '#3f264e',
    950: '#000000',
  },
}
SCSS
$custom: #3f264e;
$custom-light: #756180;
$custom-dark: #000000;
JSON
{
  "hex": "#3f264e",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 277.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31886,
    "c": 0.07493,
    "h": 311.6
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#3F264E
secondary
#62814F
accent
#CB5D86
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3F264E

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

Preview Lab → · Contrast checker → · Palette generator →

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