#2B083F#2B083F

#2B083F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.099 H 309.6°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2B083F
RGBrgb(43, 8, 63)
HSLhsl(278, 77%, 14%)
HSVhsv(278, 87%, 25%)
CMYKcmyk(31.7%, 87.3%, 0%, 75.3%)
CIE-LABlab(9.37, 28.22, -26.91)
CIE-LCHlch(9.37, 38.99, 316.37°)
OKLaboklab(23.14% 0.0631 -0.0763)
OKLCHoklch(23.14% 0.099 309.6)
XYZxyz(1.9801, 1.0462, 4.7993)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B083F #1C3F08
analogous
#10083F #2B083F #3F0838
triadic
#2B083F #3F2B08 #083F2B
tetradic
#2B083F #3F1008 #1C3F08 #08383F
square
#2B083F #3F1008 #1C3F08 #08383F
split-complementary
#2B083F #383F08 #083F10
monochromatic
#13031B #13031B #2B083F #500F75 #7516AC

Accessibility & contrast

On white

17.37
#2B083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B083F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B083F#FFFFFF#000000##FFFFFF
##2B083F1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#281523
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b083f;
/* rgb */ color: rgb(43, 8, 63);
/* oklch */ color: oklch(23.1% 0.099 309.6);
Tailwind
colors: {
  custom: {
    50: '#674c74',
    500: '#2b083f',
    950: '#000000',
  },
}
SCSS
$custom: #2b083f;
$custom-light: #674c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b083f",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 278.182,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23143,
    "c": 0.09904,
    "h": 309.6
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#2B083F
secondary
#457E25
accent
#F4347A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B083F

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

Preview Lab → · Contrast checker → · Palette generator →

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