#2B0F57#2B0F57

#2B0F57 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.3% C 0.119 H 294.3°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#2B0F57
RGBrgb(43, 15, 87)
HSLhsl(263, 71%, 20%)
HSVhsv(263, 83%, 34%)
CMYKcmyk(50.6%, 82.8%, 0%, 65.9%)
CIE-LABlab(12.88, 31.52, -37.84)
CIE-LCHlch(12.88, 49.25, 309.79°)
OKLaboklab(26.32% 0.049 -0.1085)
OKLCHoklch(26.32% 0.119 294.3)
XYZxyz(2.8869, 1.5433, 9.1608)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F57 #3B570F
analogous
#0F1757 #2B0F57 #4F0F57
triadic
#2B0F57 #572B0F #0F572B
tetradic
#2B0F57 #570F17 #3B570F #0F574F
square
#2B0F57 #570F17 #3B570F #0F574F
split-complementary
#2B0F57 #574F0F #17570F
monochromatic
#0D051A #110623 #2B0F57 #45188B #5F21BF

Accessibility & contrast

On white

16.05
#2B0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2B0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F57
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F57#FFFFFF#000000##FFFFFF
##2B0F571.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#1E2332
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b0f57;
/* rgb */ color: rgb(43, 15, 87);
/* oklch */ color: oklch(26.3% 0.119 294.3);
Tailwind
colors: {
  custom: {
    50: '#6a5187',
    500: '#2b0f57',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f57;
$custom-light: #6a5187;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f57",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 263.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.26323,
    "c": 0.11908,
    "h": 294.3
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#2B0F57
secondary
#6C9131
accent
#ED3AA8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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