#3B0F74#3B0F74

#3B0F74 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.3% C 0.154 H 295.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3B0F74
RGBrgb(59, 15, 116)
HSLhsl(266, 77%, 26%)
HSVhsv(266, 87%, 45%)
CMYKcmyk(49.1%, 87.1%, 0%, 54.5%)
CIE-LABlab(18.06, 42.08, -48.41)
CIE-LCHlch(18.06, 64.14, 311.00°)
OKLaboklab(31.31% 0.0658 -0.1389)
OKLCHoklch(31.31% 0.154 295.4)
XYZxyz(5.1260, 2.5323, 16.7383)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F74 #48740F
analogous
#0F1574 #3B0F74 #6D0F74
triadic
#3B0F74 #743B0F #0F743B
tetradic
#3B0F74 #740F15 #48740F #0F746D
square
#3B0F74 #740F15 #48740F #0F746D
split-complementary
#3B0F74 #746D0F #15740F
monochromatic
#0E041B #1F083E #3B0F74 #5716AA #721DE0

Accessibility & contrast

On white

13.94
#3B0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3B0F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F74
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F74#FFFFFF#000000##FFFFFF
##3B0F741.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#2A2E43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b0f74;
/* rgb */ color: rgb(59, 15, 116);
/* oklch */ color: oklch(31.3% 0.154 295.4);
Tailwind
colors: {
  custom: {
    50: '#78559d',
    500: '#3b0f74',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f74;
$custom-light: #78559d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f74",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 266.139,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31314,
    "c": 0.15368,
    "h": 295.4
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#3B0F74
secondary
#77AC33
accent
#F434A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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