#2F10B4#2F10B4

#2F10B4 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.6% C 0.224 H 275.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2F10B4
RGBrgb(47, 16, 180)
HSLhsl(251, 84%, 38%)
HSVhsv(251, 91%, 71%)
CMYKcmyk(73.9%, 91.1%, 0%, 29.4%)
CIE-LABlab(24.54, 58.05, -77.39)
CIE-LCHlch(24.54, 96.74, 306.87°)
OKLaboklab(37.62% 0.0205 -0.2235)
OKLCHoklch(37.62% 0.224 275.2)
XYZxyz(9.5931, 4.2692, 43.4896)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F10B4 #95B410
analogous
#1043B4 #2F10B4 #8110B4
triadic
#2F10B4 #B42F10 #10B42F
tetradic
#2F10B4 #B41043 #95B410 #10B481
square
#2F10B4 #B41043 #95B410 #10B481
split-complementary
#2F10B4 #B48110 #43B410
monochromatic
#120644 #200B7C #2F10B4 #3F17EA #6D4FEF

Accessibility & contrast

On white

11.33
#2F10B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F10B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F10B4
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F10B4#FFFFFF#000000##FFFFFF
##2F10B41.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B8
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004B69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f10b4;
/* rgb */ color: rgb(47, 16, 180);
/* oklch */ color: oklch(37.6% 0.224 275.2);
Tailwind
colors: {
  custom: {
    50: '#7f5acc',
    500: '#2f10b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f10b4;
$custom-light: #7f5acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f10b4",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 180
  },
  "hsl": {
    "h": 251.341,
    "s": 83.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.22444,
    "h": 275.2
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#2F10B4
secondary
#B8D14F
accent
#FA2ED3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2F10B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2F10B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva