#3F269A#3F269A

#3F269A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.176 H 284.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3F269A
RGBrgb(63, 38, 154)
HSLhsl(253, 60%, 38%)
HSVhsv(253, 75%, 60%)
CMYKcmyk(59.1%, 75.3%, 0%, 39.6%)
CIE-LABlab(26.09, 42.84, -59.06)
CIE-LCHlch(26.09, 72.96, 305.96°)
OKLaboklab(38.17% 0.0433 -0.1701)
OKLCHoklch(38.17% 0.176 284.3)
XYZxyz(8.5740, 4.7755, 31.0356)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F269A #819A26
analogous
#26479A #3F269A #79269A
triadic
#3F269A #9A3F26 #269A3F
tetradic
#3F269A #9A2647 #819A26 #269A79
square
#3F269A #9A2647 #819A26 #269A79
split-complementary
#3F269A #9A7926 #479A26
monochromatic
#170E38 #2B1A69 #3F269A #5332CB #7C62D8

Accessibility & contrast

On white

10.74
#3F269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F269A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F269A#FFFFFF#000000##FFFFFF
##3F269A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#0A465E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f269a;
/* rgb */ color: rgb(63, 38, 154);
/* oklch */ color: oklch(38.2% 0.176 284.3);
Tailwind
colors: {
  custom: {
    50: '#7f63b9',
    500: '#3f269a',
    950: '#000000',
  },
}
SCSS
$custom: #3f269a;
$custom-light: #7f63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f269a",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 252.931,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38175,
    "c": 0.17556,
    "h": 284.3
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#3F269A
secondary
#A9BE5E
accent
#E444C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F269A

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

Preview Lab → · Contrast checker → · Palette generator →

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