#3F267C#3F267C

#3F267C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.138 H 291.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#3F267C
RGBrgb(63, 38, 124)
HSLhsl(257, 53%, 32%)
HSVhsv(257, 69%, 49%)
CMYKcmyk(49.2%, 69.4%, 0%, 51.4%)
CIE-LABlab(23.33, 33.67, -44.88)
CIE-LCHlch(23.33, 56.11, 306.88°)
OKLaboklab(35.37% 0.0495 -0.1286)
OKLCHoklch(35.37% 0.138 291)
XYZxyz(6.3801, 3.8980, 19.4811)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F267C #637C26
analogous
#26387C #3F267C #6A267C
triadic
#3F267C #7C3F26 #267C3F
tetradic
#3F267C #7C2638 #637C26 #267C6A
square
#3F267C #7C2638 #637C26 #267C6A
split-complementary
#3F267C #7C6A26 #387C26
monochromatic
#0F091E #27184D #3F267C #5734AB #7552CA

Accessibility & contrast

On white

11.80
#3F267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3F267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F267C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F267C#FFFFFF#000000##FFFFFF
##3F267C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#2C3B4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f267c;
/* rgb */ color: rgb(63, 38, 124);
/* oklch */ color: oklch(35.4% 0.138 291.0);
Tailwind
colors: {
  custom: {
    50: '#7a62a3',
    500: '#3f267c',
    950: '#000000',
  },
}
SCSS
$custom: #3f267c;
$custom-light: #7a62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f267c",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 257.442,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.13774,
    "h": 291
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#3F267C
secondary
#93AE50
accent
#DC4BB2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F267C

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

Preview Lab → · Contrast checker → · Palette generator →

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