#25107B#25107B

#25107B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.163 H 279.0°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#25107B
RGBrgb(37, 16, 123)
HSLhsl(252, 77%, 27%)
HSVhsv(252, 87%, 48%)
CMYKcmyk(69.9%, 87%, 0%, 51.8%)
CIE-LABlab(16.47, 41.21, -55.62)
CIE-LCHlch(16.47, 69.22, 306.54°)
OKLaboklab(29.87% 0.0255 -0.1606)
OKLCHoklch(29.87% 0.163 279)
XYZxyz(4.5222, 2.1936, 18.9201)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25107B #667B10
analogous
#10307B #25107B #5B107B
triadic
#25107B #7B2510 #107B25
tetradic
#25107B #7B1030 #667B10 #107B5B
square
#25107B #7B1030 #667B10 #107B5B
split-complementary
#25107B #7B5B10 #307B10
monochromatic
#08041B #150945 #25107B #3517B1 #4923E2

Accessibility & contrast

On white

14.60
#25107B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#25107B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25107B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25107B#FFFFFF#000000##FFFFFF
##25107B1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25107b;
/* rgb */ color: rgb(37, 16, 123);
/* oklch */ color: oklch(29.9% 0.163 279.0);
Tailwind
colors: {
  custom: {
    50: '#6e53a2',
    500: '#25107b',
    950: '#000000',
  },
}
SCSS
$custom: #25107b;
$custom-light: #6e53a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25107b",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 123
  },
  "hsl": {
    "h": 251.776,
    "s": 76.978,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29867,
    "c": 0.16261,
    "h": 279
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#25107B
secondary
#99B235
accent
#F434CE
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25107B

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

Preview Lab → · Contrast checker → · Palette generator →

#25107B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva