#2B0647#2B0647

#2B0647 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.111 H 304.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2B0647
RGBrgb(43, 6, 71)
HSLhsl(274, 84%, 15%)
HSVhsv(274, 92%, 28%)
CMYKcmyk(39.4%, 91.5%, 0%, 72.2%)
CIE-LABlab(9.79, 31.30, -31.88)
CIE-LCHlch(9.79, 44.68, 314.48°)
OKLaboklab(23.67% 0.0629 -0.0909)
OKLCHoklch(23.67% 0.111 304.7)
XYZxyz(2.1985, 1.0988, 6.0563)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0647 #224706
analogous
#0B0647 #2B0647 #470642
triadic
#2B0647 #472B06 #06472B
tetradic
#2B0647 #470B06 #224706 #064247
square
#2B0647 #470B06 #224706 #064247
split-complementary
#2B0647 #424706 #06470B
monochromatic
#11021C #11021C #2B0647 #4D0B7F #6F10B8

Accessibility & contrast

On white

17.22
#2B0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0647
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0647#FFFFFF#000000##FFFFFF
##2B06471.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#251827
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0647;
/* rgb */ color: rgb(43, 6, 71);
/* oklch */ color: oklch(23.7% 0.111 304.7);
Tailwind
colors: {
  custom: {
    50: '#684b7b',
    500: '#2b0647',
    950: '#000000',
  },
}
SCSS
$custom: #2b0647;
$custom-light: #684b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0647",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 274.154,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23672,
    "c": 0.11057,
    "h": 304.7
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#2B0647
secondary
#4D8623
accent
#FB2D86
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0647

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

Preview Lab → · Contrast checker → · Palette generator →

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