#25034E#25034E

#25034E is a very dark, vivid violet. Relative luminance 0.010; OKLCH L 23.2% C 0.121 H 295.6°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#25034E
RGBrgb(37, 3, 78)
HSLhsl(267, 93%, 16%)
HSVhsv(267, 96%, 31%)
CMYKcmyk(52.6%, 96.2%, 0%, 69.4%)
CIE-LABlab(9.06, 33.83, -37.99)
CIE-LCHlch(9.06, 50.87, 311.68°)
OKLaboklab(23.2% 0.0522 -0.109)
OKLCHoklch(23.2% 0.121 295.6)
XYZxyz(2.1703, 1.0084, 7.2865)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25034E #2C4E03
analogous
#03064E #25034E #4A034E
triadic
#25034E #4E2503 #034E25
tetradic
#25034E #4E0306 #2C4E03 #034E4A
square
#25034E #4E0306 #2C4E03 #034E4A
split-complementary
#25034E #4E4A03 #064E03
monochromatic
#0E011D #0E011D #25034E #410589 #5D08C4

Accessibility & contrast

On white

17.48
#25034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#25034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25034E
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25034E#FFFFFF#000000##FFFFFF
##25034E1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#191A2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #25034e;
/* rgb */ color: rgb(37, 3, 78);
/* oklch */ color: oklch(23.2% 0.121 295.6);
Tailwind
colors: {
  custom: {
    50: '#664980',
    500: '#25034e',
    950: '#000000',
  },
}
SCSS
$custom: #25034e;
$custom-light: #664980;
$custom-dark: #000000;
JSON
{
  "hex": "#25034e",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 267.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.232,
    "c": 0.12087,
    "h": 295.6
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#25034E
secondary
#5C8E1E
accent
#FF299E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #25034E

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

Preview Lab → · Contrast checker → · Palette generator →

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