#250522#250522

#250522 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.070 H 331.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#250522
RGBrgb(37, 5, 34)
HSLhsl(306, 76%, 8%)
HSVhsv(306, 86%, 15%)
CMYKcmyk(0%, 86.5%, 8.1%, 85.5%)
CIE-LABlab(5.58, 20.30, -11.52)
CIE-LCHlch(5.58, 23.34, 330.43°)
OKLaboklab(19.27% 0.0618 -0.0331)
OKLCHoklch(19.27% 0.07 331.9)
XYZxyz(1.1060, 0.6174, 1.5740)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250522 #052508
analogous
#180525 #250522 #250512
triadic
#250522 #222505 #052225
tetradic
#250522 #251805 #052508 #051225
square
#250522 #251805 #052508 #051225
split-complementary
#250522 #122505 #052518
monochromatic
#1B0419 #1B0419 #250522 #5B0C54 #911485

Accessibility & contrast

On white

18.69
#250522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#250522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250522
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250522#FFFFFF#000000##FFFFFF
##2505221.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040F23
Deuteranopia (green-blind)
#0E1421
Tritanopia (blue-blind)
#270812
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #250522;
/* rgb */ color: rgb(37, 5, 34);
/* oklch */ color: oklch(19.3% 0.070 331.9);
Tailwind
colors: {
  custom: {
    50: '#60485d',
    500: '#250522',
    950: '#000000',
  },
}
SCSS
$custom: #250522;
$custom-light: #60485d;
$custom-dark: #000000;
JSON
{
  "hex": "#250522",
  "rgb": {
    "r": 37,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 305.625,
    "s": 76.19,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19266,
    "c": 0.07006,
    "h": 331.9
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#250522
secondary
#1F6726
accent
#F34735
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #250522

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

Preview Lab → · Contrast checker → · Palette generator →

#250522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva