#2B0F50#2B0F50

#2B0F50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.110 H 297.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#2B0F50
RGBrgb(43, 15, 80)
HSLhsl(266, 68%, 19%)
HSVhsv(266, 81%, 31%)
CMYKcmyk(46.2%, 81.3%, 0%, 68.6%)
CIE-LABlab(12.18, 29.45, -34.21)
CIE-LCHlch(12.18, 45.14, 310.73°)
OKLaboklab(25.62% 0.0511 -0.0979)
OKLCHoklch(25.62% 0.11 297.6)
XYZxyz(2.6147, 1.4344, 7.7270)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F50 #34500F
analogous
#0F1350 #2B0F50 #4B0F50
triadic
#2B0F50 #502B0F #0F502B
tetradic
#2B0F50 #500F13 #34500F #0F504B
square
#2B0F50 #500F13 #34500F #0F504B
split-complementary
#2B0F50 #504B0F #13500F
monochromatic
#0E051A #0F051C #2B0F50 #471984 #6222B7

Accessibility & contrast

On white

16.32
#2B0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2B0F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F50
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F50#FFFFFF#000000##FFFFFF
##2B0F501.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#22202E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b0f50;
/* rgb */ color: rgb(43, 15, 80);
/* oklch */ color: oklch(25.6% 0.110 297.6);
Tailwind
colors: {
  custom: {
    50: '#695082',
    500: '#2b0f50',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f50;
$custom-light: #695082;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f50",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 265.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2562,
    "c": 0.1104,
    "h": 297.6
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#2B0F50
secondary
#648A31
accent
#EB3DA0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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