#2B073E#2B073E

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

Color values

HEX#2B073E
RGBrgb(43, 7, 62)
HSLhsl(279, 80%, 14%)
HSVhsv(279, 89%, 24%)
CMYKcmyk(30.6%, 88.7%, 0%, 75.7%)
CIE-LABlab(9.10, 28.48, -26.63)
CIE-LCHlch(9.10, 38.99, 316.93°)
OKLaboklab(22.93% 0.0646 -0.0755)
OKLCHoklch(22.93% 0.099 310.5)
XYZxyz(1.9416, 1.0134, 4.6498)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B073E #1A3E07
analogous
#0F073E #2B073E #3E0735
triadic
#2B073E #3E2B07 #073E2B
tetradic
#2B073E #3E0F07 #1A3E07 #07353E
square
#2B073E #3E0F07 #1A3E07 #07353E
split-complementary
#2B073E #353E07 #073E0F
monochromatic
#13031B #13031B #2B073E #510D75 #7713AC

Accessibility & contrast

On white

17.46
#2B073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B073E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B073E#FFFFFF#000000##FFFFFF
##2B073E1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#281422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b073e;
/* rgb */ color: rgb(43, 7, 62);
/* oklch */ color: oklch(22.9% 0.099 310.5);
Tailwind
colors: {
  custom: {
    50: '#674b74',
    500: '#2b073e',
    950: '#000000',
  },
}
SCSS
$custom: #2b073e;
$custom-light: #674b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b073e",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 279.273,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22926,
    "c": 0.09935,
    "h": 310.5
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#2B073E
secondary
#437D24
accent
#F63276
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B073E

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

Preview Lab → · Contrast checker → · Palette generator →

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