#2B0F47#2B0F47

#2B0F47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.099 H 302.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2B0F47
RGBrgb(43, 15, 71)
HSLhsl(270, 65%, 17%)
HSVhsv(270, 79%, 28%)
CMYKcmyk(39.4%, 78.9%, 0%, 72.2%)
CIE-LABlab(11.35, 26.83, -29.34)
CIE-LCHlch(11.35, 39.76, 312.44°)
OKLaboklab(24.77% 0.0532 -0.0836)
OKLCHoklch(24.77% 0.099 302.5)
XYZxyz(2.3041, 1.3102, 6.0915)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F47 #2B470F
analogous
#0F0F47 #2B0F47 #470F47
triadic
#2B0F47 #472B0F #0F472B
tetradic
#2B0F47 #470F0F #2B470F #0F4747
square
#2B0F47 #470F0F #2B470F #0F4747
split-complementary
#2B0F47 #47470F #0F470F
monochromatic
#0F0519 #0F0519 #2B0F47 #4A1A7A #6824AC

Accessibility & contrast

On white

16.64
#2B0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F47
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F47#FFFFFF#000000##FFFFFF
##2B0F471.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#251C29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0f47;
/* rgb */ color: rgb(43, 15, 71);
/* oklch */ color: oklch(24.8% 0.099 302.5);
Tailwind
colors: {
  custom: {
    50: '#68507b',
    500: '#2b0f47',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f47;
$custom-light: #68507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f47",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 270,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24766,
    "c": 0.09908,
    "h": 302.5
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2B0F47
secondary
#598130
accent
#E84094
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F47

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

Preview Lab → · Contrast checker → · Palette generator →

#2B0F47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva