#25063F#25063F

#25063F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.100 H 303.6°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#25063F
RGBrgb(37, 6, 63)
HSLhsl(273, 83%, 14%)
HSVhsv(273, 90%, 25%)
CMYKcmyk(41.3%, 90.5%, 0%, 75.3%)
CIE-LABlab(7.97, 28.08, -29.23)
CIE-LCHlch(7.97, 40.53, 313.85°)
OKLaboklab(21.95% 0.0555 -0.0834)
OKLCHoklch(21.95% 0.1 303.6)
XYZxyz(1.7251, 0.8824, 4.7811)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25063F #203F06
analogous
#09063F #25063F #3F063C
triadic
#25063F #3F2506 #063F25
tetradic
#25063F #3F0906 #203F06 #063C3F
square
#25063F #3F0906 #203F06 #063C3F
split-complementary
#25063F #3C3F06 #063F09
monochromatic
#10031C #10031C #25063F #460B77 #6711AF

Accessibility & contrast

On white

17.85
#25063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#25063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25063F
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25063F#FFFFFF#000000##FFFFFF
##25063F1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#201523
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #25063f;
/* rgb */ color: rgb(37, 6, 63);
/* oklch */ color: oklch(21.9% 0.100 303.6);
Tailwind
colors: {
  custom: {
    50: '#634a75',
    500: '#25063f',
    950: '#000000',
  },
}
SCSS
$custom: #25063f;
$custom-light: #634a75;
$custom-dark: #000000;
JSON
{
  "hex": "#25063f",
  "rgb": {
    "r": 37,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 272.632,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21949,
    "c": 0.10015,
    "h": 303.6
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#25063F
secondary
#4C7F22
accent
#F92F8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25063F

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

Preview Lab → · Contrast checker → · Palette generator →

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