#25083F#25083F

#25083F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.097 H 303.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#25083F
RGBrgb(37, 8, 63)
HSLhsl(272, 77%, 14%)
HSVhsv(272, 87%, 25%)
CMYKcmyk(41.3%, 87.3%, 0%, 75.3%)
CIE-LABlab(8.36, 26.96, -28.60)
CIE-LCHlch(8.36, 39.30, 313.31°)
OKLaboklab(22.22% 0.0531 -0.0816)
OKLCHoklch(22.22% 0.097 303)
XYZxyz(1.7468, 0.9259, 4.7883)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25083F #223F08
analogous
#09083F #25083F #3F083E
triadic
#25083F #3F2508 #083F25
tetradic
#25083F #3F0908 #223F08 #083E3F
square
#25083F #3F0908 #223F08 #083E3F
split-complementary
#25083F #3E3F08 #083F09
monochromatic
#10031B #10031B #25083F #450F75 #6516AC

Accessibility & contrast

On white

17.72
#25083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#25083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25083F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25083F#FFFFFF#000000##FFFFFF
##25083F1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#201623
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #25083f;
/* rgb */ color: rgb(37, 8, 63);
/* oklch */ color: oklch(22.2% 0.097 303.0);
Tailwind
colors: {
  custom: {
    50: '#634b75',
    500: '#25083f',
    950: '#000000',
  },
}
SCSS
$custom: #25083f;
$custom-light: #634b75;
$custom-dark: #000000;
JSON
{
  "hex": "#25083f",
  "rgb": {
    "r": 37,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 271.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22219,
    "c": 0.09731,
    "h": 303
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#25083F
secondary
#4F7E25
accent
#F4348F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25083F

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

Preview Lab → · Contrast checker → · Palette generator →

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