#3F269B#3F269B

#3F269B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.177 H 284.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3F269B
RGBrgb(63, 38, 155)
HSLhsl(253, 61%, 38%)
HSVhsv(253, 75%, 61%)
CMYKcmyk(59.4%, 75.5%, 0%, 39.2%)
CIE-LABlab(26.18, 43.14, -59.51)
CIE-LCHlch(26.18, 73.51, 305.94°)
OKLaboklab(38.27% 0.043 -0.1714)
OKLCHoklch(38.27% 0.177 284.1)
XYZxyz(8.6576, 4.8090, 31.4760)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F269B #829B26
analogous
#26479B #3F269B #7A269B
triadic
#3F269B #9B3F26 #269B3F
tetradic
#3F269B #9B2647 #829B26 #269B7A
square
#3F269B #9B2647 #829B26 #269B7A
split-complementary
#3F269B #9B7A26 #479B26
monochromatic
#170E39 #2B1A6A #3F269B #5332CC #7C63D9

Accessibility & contrast

On white

10.70
#3F269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F269B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F269B#FFFFFF#000000##FFFFFF
##3F269B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#08475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f269b;
/* rgb */ color: rgb(63, 38, 155);
/* oklch */ color: oklch(38.3% 0.177 284.1);
Tailwind
colors: {
  custom: {
    50: '#7f63ba',
    500: '#3f269b',
    950: '#000000',
  },
}
SCSS
$custom: #3f269b;
$custom-light: #7f63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f269b",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 252.821,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.17676,
    "h": 284.1
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#3F269B
secondary
#AABE5F
accent
#E444C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F269B

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

Preview Lab → · Contrast checker → · Palette generator →

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