#2B1693#2B1693

#2B1693 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.185 H 277.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2B1693
RGBrgb(43, 22, 147)
HSLhsl(250, 74%, 33%)
HSVhsv(250, 85%, 58%)
CMYKcmyk(70.7%, 85%, 0%, 42.4%)
CIE-LABlab(20.80, 46.34, -63.53)
CIE-LCHlch(20.80, 78.64, 306.11°)
OKLaboklab(33.82% 0.0242 -0.1835)
OKLCHoklch(33.82% 0.185 277.5)
XYZxyz(6.5479, 3.1934, 27.8694)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1693 #7E9316
analogous
#163F93 #2B1693 #691693
triadic
#2B1693 #932B16 #16932B
tetradic
#2B1693 #93163F #7E9316 #169369
square
#2B1693 #93163F #7E9316 #169369
split-complementary
#2B1693 #936916 #3F9316
monochromatic
#0C0629 #1B0E5E #2B1693 #3B1EC8 #5C41E3

Accessibility & contrast

On white

12.81
#2B1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B1693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1693
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1693#FFFFFF#000000##FFFFFF
##2B16931.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b1693;
/* rgb */ color: rgb(43, 22, 147);
/* oklch */ color: oklch(33.8% 0.185 277.5);
Tailwind
colors: {
  custom: {
    50: '#7659b4',
    500: '#2b1693',
    950: '#000000',
  },
}
SCSS
$custom: #2b1693;
$custom-light: #7659b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1693",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 250.08,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.18512,
    "h": 277.5
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#2B1693
secondary
#ADC342
accent
#F137D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1693

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

Preview Lab → · Contrast checker → · Palette generator →

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