#2F253F#2F253F

#2F253F is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.8% C 0.048 H 301.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#2F253F
RGBrgb(47, 37, 63)
HSLhsl(263, 26%, 20%)
HSVhsv(263, 41%, 25%)
CMYKcmyk(25.4%, 41.3%, 0%, 75.3%)
CIE-LABlab(16.92, 11.23, -14.85)
CIE-LCHlch(16.92, 18.62, 307.10°)
OKLaboklab(28.83% 0.0249 -0.0412)
OKLCHoklch(28.83% 0.048 301.1)
XYZxyz(2.7309, 2.2863, 4.9991)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F253F #353F25
analogous
#25283F #2F253F #3C253F
triadic
#2F253F #3F2F25 #253F2F
tetradic
#2F253F #3F2528 #353F25 #253F3C
square
#2F253F #3F2528 #353F25 #253F3C
split-complementary
#2F253F #3F3C25 #283F25
monochromatic
#0E0B13 #120E18 #2F253F #4C3C66 #69528C

Accessibility & contrast

On white

14.41
#2F253F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F253F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F253F
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F253F#FFFFFF#000000##FFFFFF
##2F253F1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#2C292F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f253f;
/* rgb */ color: rgb(47, 37, 63);
/* oklch */ color: oklch(28.8% 0.048 301.1);
Tailwind
colors: {
  custom: {
    50: '#685f74',
    500: '#2f253f',
    950: '#000000',
  },
}
SCSS
$custom: #2f253f;
$custom-light: #685f74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f253f",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 63
  },
  "hsl": {
    "h": 263.077,
    "s": 26,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28827,
    "c": 0.04811,
    "h": 301.1
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#2F253F
secondary
#64714E
accent
#C2659F
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F253F

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

Preview Lab → · Contrast checker → · Palette generator →

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