#3F23BC#3F23BC

#3F23BC is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.218 H 279.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3F23BC
RGBrgb(63, 35, 188)
HSLhsl(251, 69%, 44%)
HSVhsv(251, 81%, 74%)
CMYKcmyk(66.5%, 81.4%, 0%, 26.3%)
CIE-LABlab(29.13, 54.38, -74.50)
CIE-LCHlch(29.13, 92.23, 306.13°)
OKLaboklab(41.36% 0.0354 -0.2151)
OKLCHoklch(41.36% 0.218 279.3)
XYZxyz(11.7251, 5.8887, 48.0859)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23BC #A0BC23
analogous
#2354BC #3F23BC #8B23BC
triadic
#3F23BC #BC3F23 #23BC3F
tetradic
#3F23BC #BC2354 #A0BC23 #23BC8B
square
#3F23BC #BC2354 #A0BC23 #23BC8B
split-complementary
#3F23BC #BC8B23 #54BC23
monochromatic
#1C1055 #2E1988 #3F23BC #5D41DC #8974E5

Accessibility & contrast

On white

9.64
#3F23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3F23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23BC
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23BC#FFFFFF#000000##FFFFFF
##3F23BC1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f23bc;
/* rgb */ color: rgb(63, 35, 188);
/* oklch */ color: oklch(41.4% 0.218 279.3);
Tailwind
colors: {
  custom: {
    50: '#8664d2',
    500: '#3f23bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f23bc;
$custom-light: #8664d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23bc",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 250.98,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.218,
    "h": 279.3
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#3F23BC
secondary
#BBCC6F
accent
#EB3CCB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3F23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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