#3F2F94#3F2F94

#3F2F94 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.158 H 283.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3F2F94
RGBrgb(63, 47, 148)
HSLhsl(250, 52%, 38%)
HSVhsv(250, 68%, 58%)
CMYKcmyk(57.4%, 68.2%, 0%, 42%)
CIE-LABlab(27.37, 35.85, -53.27)
CIE-LCHlch(27.37, 64.21, 303.94°)
OKLaboklab(38.92% 0.0369 -0.1532)
OKLCHoklch(38.92% 0.158 283.5)
XYZxyz(8.4101, 5.2274, 28.5771)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F94 #84942F
analogous
#2F5194 #3F2F94 #712F94
triadic
#3F2F94 #943F2F #2F943F
tetradic
#3F2F94 #942F51 #84942F #2F9471
square
#3F2F94 #942F51 #84942F #2F9471
split-complementary
#3F2F94 #94712F #51942F
monochromatic
#171137 #2B2066 #3F2F94 #533EC2 #7D6DD1

Accessibility & contrast

On white

10.27
#3F2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F94
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F94#FFFFFF#000000##FFFFFF
##3F2F941.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#15495D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2f94;
/* rgb */ color: rgb(63, 47, 148);
/* oklch */ color: oklch(38.9% 0.158 283.5);
Tailwind
colors: {
  custom: {
    50: '#7d69b4',
    500: '#3f2f94',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f94;
$custom-light: #7d69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f94",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 249.505,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.15757,
    "h": 283.5
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#3F2F94
secondary
#ABB867
accent
#DB4DC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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