#25232F#25232F

#25232F is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.4% C 0.022 H 292.4°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#25232F
RGBrgb(37, 35, 47)
HSLhsl(250, 15%, 16%)
HSVhsv(250, 26%, 18%)
CMYKcmyk(21.3%, 25.5%, 0%, 81.6%)
CIE-LABlab(14.40, 4.10, -7.56)
CIE-LCHlch(14.40, 8.60, 298.45°)
OKLaboklab(26.37% 0.0085 -0.0207)
OKLCHoklch(26.37% 0.022 292.4)
XYZxyz(1.8770, 1.8006, 2.9374)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25232F #2D2F23
analogous
#23272F #25232F #2B232F
triadic
#25232F #2F2523 #232F25
tetradic
#25232F #2F2327 #2D2F23 #232F2B
square
#25232F #2F2327 #2D2F23 #232F2B
split-complementary
#25232F #2F2B23 #272F23
monochromatic
#0E0D12 #0E0D12 #25232F #413D52 #5C5775

Accessibility & contrast

On white

15.44
#25232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#25232F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25232F
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25232F#FFFFFF#000000##FFFFFF
##25232F1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#232527
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #25232f;
/* rgb */ color: rgb(37, 35, 47);
/* oklch */ color: oklch(26.4% 0.022 292.4);
Tailwind
colors: {
  custom: {
    50: '#5f5d67',
    500: '#25232f',
    950: '#000000',
  },
}
SCSS
$custom: #25232f;
$custom-light: #5f5d67;
$custom-dark: #000000;
JSON
{
  "hex": "#25232f",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 250,
    "s": 14.634,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26365,
    "c": 0.02234,
    "h": 292.4
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#25232F
secondary
#5D604E
accent
#B770AC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #25232F

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

Preview Lab → · Contrast checker → · Palette generator →

#25232F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva