#3F1265#3F1265

#3F1265 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.135 H 303.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#3F1265
RGBrgb(63, 18, 101)
HSLhsl(273, 70%, 23%)
HSVhsv(273, 82%, 40%)
CMYKcmyk(37.6%, 82.2%, 0%, 60.4%)
CIE-LABlab(17.59, 37.60, -39.37)
CIE-LCHlch(17.59, 54.44, 313.68°)
OKLaboklab(30.67% 0.0751 -0.1123)
OKLCHoklch(30.67% 0.135 303.8)
XYZxyz(4.6146, 2.4290, 12.5351)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1265 #386512
analogous
#151265 #3F1265 #651261
triadic
#3F1265 #653F12 #12653F
tetradic
#3F1265 #651512 #386512 #126165
square
#3F1265 #651512 #386512 #126165
split-complementary
#3F1265 #616512 #126515
monochromatic
#10051A #1F0931 #3F1265 #5F1B99 #8025CD

Accessibility & contrast

On white

14.13
#3F1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1265
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1265#FFFFFF#000000##FFFFFF
##3F12651.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#37283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1265;
/* rgb */ color: rgb(63, 18, 101);
/* oklch */ color: oklch(30.7% 0.135 303.8);
Tailwind
colors: {
  custom: {
    50: '#795692',
    500: '#3f1265',
    950: '#000000',
  },
}
SCSS
$custom: #3f1265;
$custom-light: #795692;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1265",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 272.53,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30667,
    "c": 0.13505,
    "h": 303.8
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#3F1265
secondary
#659D36
accent
#ED3B8C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1265

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

Preview Lab → · Contrast checker → · Palette generator →

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