#2B0E55#2B0E55

#2B0E55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.118 H 295.4°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#2B0E55
RGBrgb(43, 14, 85)
HSLhsl(265, 72%, 19%)
HSVhsv(265, 84%, 33%)
CMYKcmyk(49.4%, 83.5%, 0%, 66.7%)
CIE-LABlab(12.50, 31.43, -37.10)
CIE-LCHlch(12.50, 48.63, 310.26°)
OKLaboklab(26% 0.0506 -0.1063)
OKLCHoklch(26% 0.118 295.4)
XYZxyz(2.7925, 1.4835, 8.7318)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E55 #38550E
analogous
#0E1555 #2B0E55 #4F0E55
triadic
#2B0E55 #552B0E #0E552B
tetradic
#2B0E55 #550E15 #38550E #0E554F
square
#2B0E55 #550E15 #38550E #0E554F
split-complementary
#2B0E55 #554F0E #15550E
monochromatic
#0D041A #100520 #2B0E55 #46178A #601FBE

Accessibility & contrast

On white

16.19
#2B0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0E55
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E55#FFFFFF#000000##FFFFFF
##2B0E551.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0e55;
/* rgb */ color: rgb(43, 14, 85);
/* oklch */ color: oklch(26.0% 0.118 295.4);
Tailwind
colors: {
  custom: {
    50: '#6a5086',
    500: '#2b0e55',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e55;
$custom-light: #6a5086;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e55",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 264.507,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25996,
    "c": 0.11777,
    "h": 295.4
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#2B0E55
secondary
#688F30
accent
#EE39A4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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