#2F263D#2F263D

#2F263D is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.9% C 0.043 H 301.8°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#2F263D
RGBrgb(47, 38, 61)
HSLhsl(263, 23%, 19%)
HSVhsv(263, 38%, 24%)
CMYKcmyk(23%, 37.7%, 0%, 76.1%)
CIE-LABlab(17.12, 9.94, -13.16)
CIE-LCHlch(17.12, 16.49, 307.08°)
OKLaboklab(28.94% 0.0225 -0.0363)
OKLCHoklch(28.94% 0.043 301.8)
XYZxyz(2.7075, 2.3275, 4.7206)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F263D #343D26
analogous
#26293D #2F263D #3B263D
triadic
#2F263D #3D2F26 #263D2F
tetradic
#2F263D #3D2629 #343D26 #263D3B
square
#2F263D #3D2629 #343D26 #263D3B
split-complementary
#2F263D #3D3B26 #293D26
monochromatic
#0F0C13 #120F17 #2F263D #4C3D63 #695588

Accessibility & contrast

On white

14.33
#2F263D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F263D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F263D
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F263D#FFFFFF#000000##FFFFFF
##2F263D1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3E
Deuteranopia (green-blind)
#232A3C
Tritanopia (blue-blind)
#2D2A2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f263d;
/* rgb */ color: rgb(47, 38, 61);
/* oklch */ color: oklch(28.9% 0.043 301.8);
Tailwind
colors: {
  custom: {
    50: '#686072',
    500: '#2f263d',
    950: '#000000',
  },
}
SCSS
$custom: #2f263d;
$custom-light: #686072;
$custom-dark: #000000;
JSON
{
  "hex": "#2f263d",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 61
  },
  "hsl": {
    "h": 263.478,
    "s": 23.232,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28942,
    "c": 0.04273,
    "h": 301.8
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#2F263D
secondary
#636F50
accent
#C0689D
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F263D

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

Preview Lab → · Contrast checker → · Palette generator →

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