#3F267E#3F267E

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

Color values

HEX#3F267E
RGBrgb(63, 38, 126)
HSLhsl(257, 54%, 32%)
HSVhsv(257, 70%, 49%)
CMYKcmyk(50%, 69.8%, 0%, 50.6%)
CIE-LABlab(23.50, 34.28, -45.87)
CIE-LCHlch(23.50, 57.27, 306.77°)
OKLaboklab(35.54% 0.0491 -0.1315)
OKLCHoklch(35.54% 0.14 290.5)
XYZxyz(6.5078, 3.9491, 20.1540)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F267E #657E26
analogous
#26397E #3F267E #6B267E
triadic
#3F267E #7E3F26 #267E3F
tetradic
#3F267E #7E2639 #657E26 #267E6B
square
#3F267E #7E2639 #657E26 #267E6B
split-complementary
#3F267E #7E6B26 #397E26
monochromatic
#100A20 #27184F #3F267E #5734AD #7553CB

Accessibility & contrast

On white

11.73
#3F267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3F267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F267E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F267E#FFFFFF#000000##FFFFFF
##3F267E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#2A3C4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f267e;
/* rgb */ color: rgb(63, 38, 126);
/* oklch */ color: oklch(35.5% 0.140 290.5);
Tailwind
colors: {
  custom: {
    50: '#7a62a4',
    500: '#3f267e',
    950: '#000000',
  },
}
SCSS
$custom: #3f267e;
$custom-light: #7a62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f267e",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 257.045,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.14035,
    "h": 290.5
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#3F267E
secondary
#95B050
accent
#DD4BB3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F267E

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

Preview Lab → · Contrast checker → · Palette generator →

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