#25083D#25083D

#25083D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.095 H 304.4°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#25083D
RGBrgb(37, 8, 61)
HSLhsl(273, 77%, 14%)
HSVhsv(273, 87%, 24%)
CMYKcmyk(39.3%, 86.9%, 0%, 76.1%)
CIE-LABlab(8.16, 26.40, -27.48)
CIE-LCHlch(8.16, 38.11, 313.85°)
OKLaboklab(22.02% 0.0537 -0.0783)
OKLCHoklch(22.02% 0.095 304.4)
XYZxyz(1.6919, 0.9039, 4.4993)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25083D #203D08
analogous
#0A083D #25083D #3D083A
triadic
#25083D #3D2508 #083D25
tetradic
#25083D #3D0A08 #203D08 #083A3D
square
#25083D #3D0A08 #203D08 #083A3D
split-complementary
#25083D #3A3D08 #083D0A
monochromatic
#10041B #10041B #25083D #460F73 #6716A9

Accessibility & contrast

On white

17.78
#25083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25083D
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25083D#FFFFFF#000000##FFFFFF
##25083D1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#201522
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #25083d;
/* rgb */ color: rgb(37, 8, 61);
/* oklch */ color: oklch(22.0% 0.095 304.4);
Tailwind
colors: {
  custom: {
    50: '#634b73',
    500: '#25083d',
    950: '#000000',
  },
}
SCSS
$custom: #25083d;
$custom-light: #634b73;
$custom-dark: #000000;
JSON
{
  "hex": "#25083d",
  "rgb": {
    "r": 37,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 272.83,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22023,
    "c": 0.09491,
    "h": 304.4
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#25083D
secondary
#4C7C25
accent
#F3348B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25083D

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

Preview Lab → · Contrast checker → · Palette generator →

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