#3F23B2#3F23B2

#3F23B2 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.207 H 280.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F23B2
RGBrgb(63, 35, 178)
HSLhsl(252, 67%, 42%)
HSVhsv(252, 80%, 70%)
CMYKcmyk(64.6%, 80.3%, 0%, 30.2%)
CIE-LABlab(28.04, 51.48, -70.35)
CIE-LCHlch(28.04, 87.18, 306.20°)
OKLaboklab(40.28% 0.0385 -0.203)
OKLCHoklch(40.28% 0.207 280.7)
XYZxyz(10.6843, 5.4723, 42.6041)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23B2 #96B223
analogous
#234FB2 #3F23B2 #8723B2
triadic
#3F23B2 #B23F23 #23B23F
tetradic
#3F23B2 #B2234F #96B223 #23B287
square
#3F23B2 #B2234F #96B223 #23B287
split-complementary
#3F23B2 #B28723 #4FB223
monochromatic
#1B0F4C #2D197F #3F23B2 #593AD8 #846DE2

Accessibility & contrast

On white

10.03
#3F23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F23B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23B2
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23B2#FFFFFF#000000##FFFFFF
##3F23B21.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f23b2;
/* rgb */ color: rgb(63, 35, 178);
/* oklch */ color: oklch(40.3% 0.207 280.7);
Tailwind
colors: {
  custom: {
    50: '#8463ca',
    500: '#3f23b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f23b2;
$custom-light: #8463ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23b2",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 251.748,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.20666,
    "h": 280.7
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#3F23B2
secondary
#B6C968
accent
#EA3EC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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