#25105F#25105F

#25105F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.128 H 286.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#25105F
RGBrgb(37, 16, 95)
HSLhsl(256, 71%, 22%)
HSVhsv(256, 83%, 37%)
CMYKcmyk(61.1%, 83.2%, 0%, 62.7%)
CIE-LABlab(13.17, 32.52, -42.78)
CIE-LCHlch(13.17, 53.74, 307.24°)
OKLaboklab(26.61% 0.0353 -0.1232)
OKLCHoklch(26.61% 0.128 286)
XYZxyz(3.0132, 1.5899, 10.9724)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25105F #4A5F10
analogous
#10235F #25105F #4D105F
triadic
#25105F #5F2510 #105F25
tetradic
#25105F #5F1023 #4A5F10 #105F4D
square
#25105F #5F1023 #4A5F10 #105F4D
split-complementary
#25105F #5F4D10 #235F10
monochromatic
#0A041A #11072B #25105F #391993 #4E22C8

Accessibility & contrast

On white

15.93
#25105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#25105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25105F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25105F#FFFFFF#000000##FFFFFF
##25105F1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#082737
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25105f;
/* rgb */ color: rgb(37, 16, 95);
/* oklch */ color: oklch(26.6% 0.128 286.0);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#25105f',
    950: '#000000',
  },
}
SCSS
$custom: #25105f;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#25105f",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 255.949,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26611,
    "c": 0.12816,
    "h": 286
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#25105F
secondary
#7D9833
accent
#EE3ABE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25105F

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

Preview Lab → · Contrast checker → · Palette generator →

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