#2B1075#2B1075

#2B1075 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.154 H 284.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#2B1075
RGBrgb(43, 16, 117)
HSLhsl(256, 76%, 26%)
HSVhsv(256, 86%, 46%)
CMYKcmyk(63.2%, 86.3%, 0%, 54.1%)
CIE-LABlab(16.35, 39.99, -51.95)
CIE-LCHlch(16.35, 65.56, 307.59°)
OKLaboklab(29.72% 0.0376 -0.1498)
OKLCHoklch(29.72% 0.154 284.1)
XYZxyz(4.3914, 2.1682, 17.0133)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1075 #5A7510
analogous
#102775 #2B1075 #5D1075
triadic
#2B1075 #752B10 #10752B
tetradic
#2B1075 #751027 #5A7510 #10755D
square
#2B1075 #751027 #5A7510 #10755D
split-complementary
#2B1075 #755D10 #277510
monochromatic
#0A041B #17093F #2B1075 #3F17AB #531FE0

Accessibility & contrast

On white

14.65
#2B1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2B1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1075
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1075#FFFFFF#000000##FFFFFF
##2B10751.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b1075;
/* rgb */ color: rgb(43, 16, 117);
/* oklch */ color: oklch(29.7% 0.154 284.1);
Tailwind
colors: {
  custom: {
    50: '#70549e',
    500: '#2b1075',
    950: '#000000',
  },
}
SCSS
$custom: #2b1075;
$custom-light: #70549e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1075",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 256.04,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29716,
    "c": 0.15441,
    "h": 284.1
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#2B1075
secondary
#8CAC35
accent
#F335C0
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2B1075

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

Preview Lab → · Contrast checker → · Palette generator →

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