#2F263F#2F263F

#2F263F is a dark, muted violet. Relative luminance 0.023; OKLCH L 29.1% C 0.046 H 300.1°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#2F263F
RGBrgb(47, 38, 63)
HSLhsl(262, 25%, 20%)
HSVhsv(262, 40%, 25%)
CMYKcmyk(25.4%, 39.7%, 0%, 75.3%)
CIE-LABlab(17.22, 10.52, -14.38)
CIE-LCHlch(17.22, 17.82, 306.19°)
OKLaboklab(29.05% 0.0231 -0.0398)
OKLCHoklch(29.05% 0.046 300.1)
XYZxyz(2.7624, 2.3494, 5.0096)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F263F #363F26
analogous
#262A3F #2F263F #3C263F
triadic
#2F263F #3F2F26 #263F2F
tetradic
#2F263F #3F262A #363F26 #263F3C
square
#2F263F #3F262A #363F26 #263F3C
split-complementary
#2F263F #3F3C26 #2A3F26
monochromatic
#0E0C13 #130F19 #2F263F #4B3D65 #68548B

Accessibility & contrast

On white

14.29
#2F263F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F263F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F263F#FFFFFF#000000##FFFFFF
##2F263F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#222A3E
Tritanopia (blue-blind)
#2C2A2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f263f;
/* rgb */ color: rgb(47, 38, 63);
/* oklch */ color: oklch(29.1% 0.046 300.1);
Tailwind
colors: {
  custom: {
    50: '#686074',
    500: '#2f263f',
    950: '#000000',
  },
}
SCSS
$custom: #2f263f;
$custom-light: #686074;
$custom-dark: #000000;
JSON
{
  "hex": "#2f263f",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 63
  },
  "hsl": {
    "h": 261.6,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29055,
    "c": 0.04605,
    "h": 300.1
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#2F263F
secondary
#657150
accent
#C167A1
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F263F

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

Preview Lab → · Contrast checker → · Palette generator →

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