#250F6A#250F6A

#250F6A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.143 H 283.0°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#250F6A
RGBrgb(37, 15, 106)
HSLhsl(255, 75%, 24%)
HSVhsv(255, 86%, 42%)
CMYKcmyk(65.1%, 85.8%, 0%, 58.4%)
CIE-LABlab(14.26, 36.46, -48.26)
CIE-LCHlch(14.26, 60.48, 307.07°)
OKLaboklab(27.74% 0.0321 -0.1392)
OKLCHoklch(27.74% 0.143 283)
XYZxyz(3.5345, 1.7753, 13.7893)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F6A #546A0F
analogous
#0F266A #250F6A #520F6A
triadic
#250F6A #6A250F #0F6A25
tetradic
#250F6A #6A0F26 #546A0F #0F6A52
square
#250F6A #6A0F26 #546A0F #0F6A52
split-complementary
#250F6A #6A520F #266A0F
monochromatic
#09041B #120734 #250F6A #3817A0 #4A1ED5

Accessibility & contrast

On white

15.50
#250F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#250F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F6A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F6A#FFFFFF#000000##FFFFFF
##250F6A1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #250f6a;
/* rgb */ color: rgb(37, 15, 106);
/* oklch */ color: oklch(27.7% 0.143 283.0);
Tailwind
colors: {
  custom: {
    50: '#6a5296',
    500: '#250f6a',
    950: '#000000',
  },
}
SCSS
$custom: #250f6a;
$custom-light: #6a5296;
$custom-dark: #000000;
JSON
{
  "hex": "#250f6a",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 254.505,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27744,
    "c": 0.14284,
    "h": 283
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#250F6A
secondary
#87A232
accent
#F236C4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #250F6A

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

Preview Lab → · Contrast checker → · Palette generator →

#250F6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva