#25107C#25107C

#25107C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.0% C 0.164 H 278.8°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#25107C
RGBrgb(37, 16, 124)
HSLhsl(252, 77%, 27%)
HSVhsv(252, 87%, 49%)
CMYKcmyk(70.2%, 87.1%, 0%, 51.4%)
CIE-LABlab(16.60, 41.52, -56.05)
CIE-LCHlch(16.60, 69.76, 306.53°)
OKLaboklab(29.99% 0.0251 -0.1619)
OKLCHoklch(29.99% 0.164 278.8)
XYZxyz(4.5852, 2.2187, 19.2515)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25107C #677C10
analogous
#10317C #25107C #5B107C
triadic
#25107C #7C2510 #107C25
tetradic
#25107C #7C1031 #677C10 #107C5B
square
#25107C #7C1031 #677C10 #107C5B
split-complementary
#25107C #7C5B10 #317C10
monochromatic
#08031B #150946 #25107C #3517B2 #4924E3

Accessibility & contrast

On white

14.54
#25107C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25107C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25107C#FFFFFF#000000##FFFFFF
##25107C1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25107c;
/* rgb */ color: rgb(37, 16, 124);
/* oklch */ color: oklch(30.0% 0.164 278.8);
Tailwind
colors: {
  custom: {
    50: '#6e54a3',
    500: '#25107c',
    950: '#000000',
  },
}
SCSS
$custom: #25107c;
$custom-light: #6e54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25107c",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 124
  },
  "hsl": {
    "h": 251.667,
    "s": 77.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29988,
    "c": 0.1638,
    "h": 278.8
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#25107C
secondary
#9AB235
accent
#F434CE
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25107C

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

Preview Lab → · Contrast checker → · Palette generator →

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