#2B073F#2B073F

#2B073F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.100 H 309.8°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2B073F
RGBrgb(43, 7, 63)
HSLhsl(279, 80%, 14%)
HSVhsv(279, 89%, 25%)
CMYKcmyk(31.7%, 88.9%, 0%, 75.3%)
CIE-LABlab(9.19, 28.73, -27.19)
CIE-LCHlch(9.19, 39.56, 316.58°)
OKLaboklab(23.02% 0.0643 -0.0772)
OKLCHoklch(23.02% 0.1 309.8)
XYZxyz(1.9693, 1.0245, 4.7957)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B073F #1B3F07
analogous
#0F073F #2B073F #3F0737
triadic
#2B073F #3F2B07 #073F2B
tetradic
#2B073F #3F0F07 #1B3F07 #07373F
square
#2B073F #3F0F07 #1B3F07 #07373F
split-complementary
#2B073F #373F07 #073F0F
monochromatic
#13031C #13031C #2B073F #510D76 #7613AD

Accessibility & contrast

On white

17.43
#2B073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B073F
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B073F#FFFFFF#000000##FFFFFF
##2B073F1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b073f;
/* rgb */ color: rgb(43, 7, 63);
/* oklch */ color: oklch(23.0% 0.100 309.8);
Tailwind
colors: {
  custom: {
    50: '#674b74',
    500: '#2b073f',
    950: '#000000',
  },
}
SCSS
$custom: #2b073f;
$custom-light: #674b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b073f",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 278.571,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23019,
    "c": 0.10046,
    "h": 309.8
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#2B073F
secondary
#447E24
accent
#F63178
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B073F

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

Preview Lab → · Contrast checker → · Palette generator →

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