#25083E#25083E

#25083E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.096 H 303.7°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#25083E
RGBrgb(37, 8, 62)
HSLhsl(272, 77%, 14%)
HSVhsv(272, 87%, 24%)
CMYKcmyk(40.3%, 87.1%, 0%, 75.7%)
CIE-LABlab(8.26, 26.68, -28.04)
CIE-LCHlch(8.26, 38.70, 313.57°)
OKLaboklab(22.12% 0.0534 -0.0799)
OKLCHoklch(22.12% 0.096 303.7)
XYZxyz(1.7191, 0.9148, 4.6425)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25083E #213E08
analogous
#0A083E #25083E #3E083C
triadic
#25083E #3E2508 #083E25
tetradic
#25083E #3E0A08 #213E08 #083C3E
square
#25083E #3E0A08 #213E08 #083C3E
split-complementary
#25083E #3C3E08 #083E0A
monochromatic
#10031B #10031B #25083E #450F74 #6616AA

Accessibility & contrast

On white

17.75
#25083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#25083E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25083E
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25083E#FFFFFF#000000##FFFFFF
##25083E1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25083e;
/* rgb */ color: rgb(37, 8, 62);
/* oklch */ color: oklch(22.1% 0.096 303.7);
Tailwind
colors: {
  custom: {
    50: '#634b74',
    500: '#25083e',
    950: '#000000',
  },
}
SCSS
$custom: #25083e;
$custom-light: #634b74;
$custom-dark: #000000;
JSON
{
  "hex": "#25083e",
  "rgb": {
    "r": 37,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 272.222,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22121,
    "c": 0.0961,
    "h": 303.7
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#25083E
secondary
#4E7D25
accent
#F4348D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25083E

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

Preview Lab → · Contrast checker → · Palette generator →

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