#3F269F#3F269F

#3F269F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.182 H 283.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3F269F
RGBrgb(63, 38, 159)
HSLhsl(252, 61%, 39%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(60.4%, 76.1%, 0%, 37.6%)
CIE-LABlab(26.58, 44.36, -61.30)
CIE-LCHlch(26.58, 75.67, 305.89°)
OKLaboklab(38.67% 0.042 -0.1767)
OKLCHoklch(38.67% 0.182 283.4)
XYZxyz(8.9991, 4.9456, 33.2746)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F269F #869F26
analogous
#26499F #3F269F #7B269F
triadic
#3F269F #9F3F26 #269F3F
tetradic
#3F269F #9F2649 #869F26 #269F7B
square
#3F269F #9F2649 #869F26 #269F7B
split-complementary
#3F269F #9F7B26 #499F26
monochromatic
#180E3C #2B1A6E #3F269F #5434CE #7D65DA

Accessibility & contrast

On white

10.56
#3F269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F269F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F269F#FFFFFF#000000##FFFFFF
##3F269F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f269f;
/* rgb */ color: rgb(63, 38, 159);
/* oklch */ color: oklch(38.7% 0.182 283.4);
Tailwind
colors: {
  custom: {
    50: '#8064bd',
    500: '#3f269f',
    950: '#000000',
  },
}
SCSS
$custom: #3f269f;
$custom-light: #8064bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f269f",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 252.397,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.18162,
    "h": 283.4
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#3F269F
secondary
#ACC061
accent
#E543C3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F269F

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

Preview Lab → · Contrast checker → · Palette generator →

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