#2B0F55#2B0F55

#2B0F55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.117 H 295.2°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0F55
RGBrgb(43, 15, 85)
HSLhsl(264, 70%, 20%)
HSVhsv(264, 82%, 33%)
CMYKcmyk(49.4%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.68, 30.93, -36.82)
CIE-LCHlch(12.68, 48.08, 310.03°)
OKLaboklab(26.12% 0.0497 -0.1055)
OKLCHoklch(26.12% 0.117 295.2)
XYZxyz(2.8063, 1.5110, 8.7364)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F55 #39550F
analogous
#0F1655 #2B0F55 #4E0F55
triadic
#2B0F55 #552B0F #0F552B
tetradic
#2B0F55 #550F16 #39550F #0F554E
square
#2B0F55 #550F16 #39550F #0F554E
split-complementary
#2B0F55 #554E0F #16550F
monochromatic
#0D051A #110621 #2B0F55 #451889 #6021BD

Accessibility & contrast

On white

16.13
#2B0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2B0F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F55
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F55#FFFFFF#000000##FFFFFF
##2B0F551.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#1F2231
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b0f55;
/* rgb */ color: rgb(43, 15, 85);
/* oklch */ color: oklch(26.1% 0.117 295.2);
Tailwind
colors: {
  custom: {
    50: '#6a5186',
    500: '#2b0f55',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f55;
$custom-light: #6a5186;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f55",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 264,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26119,
    "c": 0.11661,
    "h": 295.2
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#2B0F55
secondary
#698F31
accent
#ED3BA6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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