#2B0E54#2B0E54

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

Color values

HEX#2B0E54
RGBrgb(43, 14, 84)
HSLhsl(265, 71%, 19%)
HSVhsv(265, 83%, 33%)
CMYKcmyk(48.8%, 83.3%, 0%, 67.1%)
CIE-LABlab(12.40, 31.14, -36.59)
CIE-LCHlch(12.40, 48.04, 310.40°)
OKLaboklab(25.89% 0.0509 -0.1048)
OKLCHoklch(25.89% 0.117 295.9)
XYZxyz(2.7531, 1.4677, 8.5240)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E54 #37540E
analogous
#0E1454 #2B0E54 #4E0E54
triadic
#2B0E54 #542B0E #0E542B
tetradic
#2B0E54 #540E14 #37540E #0E544E
square
#2B0E54 #540E14 #37540E #0E544E
split-complementary
#2B0E54 #544E0E #14540E
monochromatic
#0D041A #100520 #2B0E54 #461788 #611FBD

Accessibility & contrast

On white

16.23
#2B0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0E54
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E54#FFFFFF#000000##FFFFFF
##2B0E541.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#202130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b0e54;
/* rgb */ color: rgb(43, 14, 84);
/* oklch */ color: oklch(25.9% 0.117 295.9);
Tailwind
colors: {
  custom: {
    50: '#6a5085',
    500: '#2b0e54',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e54;
$custom-light: #6a5085;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e54",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 264.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25894,
    "c": 0.11654,
    "h": 295.9
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#2B0E54
secondary
#678E2F
accent
#EE3AA3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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