#3F267B#3F267B

#3F267B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.136 H 291.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#3F267B
RGBrgb(63, 38, 123)
HSLhsl(258, 53%, 32%)
HSVhsv(258, 69%, 48%)
CMYKcmyk(48.8%, 69.1%, 0%, 51.8%)
CIE-LABlab(23.25, 33.37, -44.39)
CIE-LCHlch(23.25, 55.53, 306.93°)
OKLaboklab(35.28% 0.0496 -0.1271)
OKLCHoklch(35.28% 0.136 291.3)
XYZxyz(6.3172, 3.8728, 19.1497)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F267B #627B26
analogous
#26387B #3F267B #6A267B
triadic
#3F267B #7B3F26 #267B3F
tetradic
#3F267B #7B2638 #627B26 #267B6A
square
#3F267B #7B2638 #627B26 #267B6A
split-complementary
#3F267B #7B6A26 #387B26
monochromatic
#0F091D #27184C #3F267B #5734AA #7552CA

Accessibility & contrast

On white

11.83
#3F267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F267B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F267B#FFFFFF#000000##FFFFFF
##3F267B1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#2C3B4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f267b;
/* rgb */ color: rgb(63, 38, 123);
/* oklch */ color: oklch(35.3% 0.136 291.3);
Tailwind
colors: {
  custom: {
    50: '#7a62a2',
    500: '#3f267b',
    950: '#000000',
  },
}
SCSS
$custom: #3f267b;
$custom-light: #7a62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f267b",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 257.647,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35281,
    "c": 0.13644,
    "h": 291.3
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#3F267B
secondary
#92AD50
accent
#DC4CB2
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F267B

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

Preview Lab → · Contrast checker → · Palette generator →

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