#3F0F65#3F0F65

#3F0F65 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.138 H 304.2°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#3F0F65
RGBrgb(63, 15, 101)
HSLhsl(273, 74%, 23%)
HSVhsv(273, 85%, 40%)
CMYKcmyk(37.6%, 85.1%, 0%, 60.4%)
CIE-LABlab(17.17, 38.83, -40.07)
CIE-LCHlch(17.17, 55.80, 314.10°)
OKLaboklab(30.37% 0.0777 -0.1143)
OKLCHoklch(30.37% 0.138 304.2)
XYZxyz(4.5691, 2.3380, 12.5200)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F65 #35650F
analogous
#140F65 #3F0F65 #650F60
triadic
#3F0F65 #653F0F #0F653F
tetradic
#3F0F65 #65140F #35650F #0F6065
square
#3F0F65 #65140F #35650F #0F6065
split-complementary
#3F0F65 #60650F #0F6514
monochromatic
#11041B #1E0730 #3F0F65 #60179A #811FD0

Accessibility & contrast

On white

14.31
#3F0F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F0F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F65
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F65#FFFFFF#000000##FFFFFF
##3F0F651.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#37263B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f0f65;
/* rgb */ color: rgb(63, 15, 101);
/* oklch */ color: oklch(30.4% 0.138 304.2);
Tailwind
colors: {
  custom: {
    50: '#795492',
    500: '#3f0f65',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f65;
$custom-light: #795492;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f65",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 273.488,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3037,
    "c": 0.1382,
    "h": 304.2
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#3F0F65
secondary
#629E32
accent
#F13789
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F0F65

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

Preview Lab → · Contrast checker → · Palette generator →

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