#3F269C#3F269C

#3F269C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 283.9°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3F269C
RGBrgb(63, 38, 156)
HSLhsl(253, 61%, 38%)
HSVhsv(253, 76%, 61%)
CMYKcmyk(59.6%, 75.6%, 0%, 38.8%)
CIE-LABlab(26.28, 43.45, -59.96)
CIE-LCHlch(26.28, 74.05, 305.93°)
OKLaboklab(38.37% 0.0428 -0.1728)
OKLCHoklch(38.37% 0.178 283.9)
XYZxyz(8.7419, 4.8427, 31.9201)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F269C #839C26
analogous
#26489C #3F269C #7A269C
triadic
#3F269C #9C3F26 #269C3F
tetradic
#3F269C #9C2648 #839C26 #269C7A
square
#3F269C #9C2648 #839C26 #269C7A
split-complementary
#3F269C #9C7A26 #489C26
monochromatic
#170E3A #2B1A6B #3F269C #5332CD #7C63D9

Accessibility & contrast

On white

10.67
#3F269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F269C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F269C#FFFFFF#000000##FFFFFF
##3F269C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#05475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f269c;
/* rgb */ color: rgb(63, 38, 156);
/* oklch */ color: oklch(38.4% 0.178 283.9);
Tailwind
colors: {
  custom: {
    50: '#7f63ba',
    500: '#3f269c',
    950: '#000000',
  },
}
SCSS
$custom: #3f269c;
$custom-light: #7f63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f269c",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 252.712,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.17799,
    "h": 283.9
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F269C

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

Preview Lab → · Contrast checker → · Palette generator →

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