#3F267D#3F267D

#3F267D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.139 H 290.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3F267D
RGBrgb(63, 38, 125)
HSLhsl(257, 53%, 32%)
HSVhsv(257, 70%, 49%)
CMYKcmyk(49.6%, 69.6%, 0%, 51%)
CIE-LABlab(23.42, 33.98, -45.38)
CIE-LCHlch(23.42, 56.69, 306.82°)
OKLaboklab(35.46% 0.0493 -0.13)
OKLCHoklch(35.46% 0.139 290.8)
XYZxyz(6.4436, 3.9234, 19.8158)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F267D #647D26
analogous
#26397D #3F267D #6B267D
triadic
#3F267D #7D3F26 #267D3F
tetradic
#3F267D #7D2639 #647D26 #267D6B
square
#3F267D #7D2639 #647D26 #267D6B
split-complementary
#3F267D #7D6B26 #397D26
monochromatic
#10091F #27184E #3F267D #5734AC #7553CB

Accessibility & contrast

On white

11.77
#3F267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F267D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F267D#FFFFFF#000000##FFFFFF
##3F267D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#2B3B4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f267d;
/* rgb */ color: rgb(63, 38, 125);
/* oklch */ color: oklch(35.5% 0.139 290.8);
Tailwind
colors: {
  custom: {
    50: '#7a62a3',
    500: '#3f267d',
    950: '#000000',
  },
}
SCSS
$custom: #3f267d;
$custom-light: #7a62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f267d",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 257.241,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.13905,
    "h": 290.8
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#3F267D
secondary
#94AF50
accent
#DD4BB3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F267D

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

Preview Lab → · Contrast checker → · Palette generator →

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