#25113E#25113E

#25113E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.083 H 300.6°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#25113E
RGBrgb(37, 17, 62)
HSLhsl(267, 57%, 15%)
HSVhsv(267, 73%, 24%)
CMYKcmyk(40.3%, 72.6%, 0%, 75.7%)
CIE-LABlab(10.12, 21.48, -25.02)
CIE-LCHlch(10.12, 32.98, 310.65°)
OKLaboklab(23.45% 0.042 -0.0711)
OKLCHoklch(23.45% 0.083 300.6)
XYZxyz(1.8327, 1.1420, 4.6804)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25113E #2A3E11
analogous
#11133E #25113E #3B113E
triadic
#25113E #3E2511 #113E25
tetradic
#25113E #3E1113 #2A3E11 #113E3B
square
#25113E #3E1113 #2A3E11 #113E3B
split-complementary
#25113E #3E3B11 #133E11
monochromatic
#0E0718 #0E0718 #25113E #421E6E #5E2B9E

Accessibility & contrast

On white

17.10
#25113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#25113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25113E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25113E#FFFFFF#000000##FFFFFF
##25113E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#021B3D
Tritanopia (blue-blind)
#201B25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #25113e;
/* rgb */ color: rgb(37, 17, 62);
/* oklch */ color: oklch(23.4% 0.083 300.6);
Tailwind
colors: {
  custom: {
    50: '#625074',
    500: '#25113e',
    950: '#000000',
  },
}
SCSS
$custom: #25113e;
$custom-light: #625074;
$custom-dark: #000000;
JSON
{
  "hex": "#25113e",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 266.667,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23448,
    "c": 0.08261,
    "h": 300.6
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#25113E
secondary
#597733
accent
#E0489C
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #25113E

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

Preview Lab → · Contrast checker → · Palette generator →

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