#230F49#230F49

#230F49 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.101 H 293.0°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#230F49
RGBrgb(35, 15, 73)
HSLhsl(261, 66%, 17%)
HSVhsv(261, 79%, 29%)
CMYKcmyk(52.1%, 79.5%, 0%, 71.4%)
CIE-LABlab(10.41, 25.72, -32.32)
CIE-LCHlch(10.41, 41.30, 308.51°)
OKLaboklab(23.91% 0.0393 -0.0926)
OKLCHoklch(23.91% 0.101 293)
XYZxyz(2.0662, 1.1799, 6.4209)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F49 #35490F
analogous
#0F1849 #230F49 #400F49
triadic
#230F49 #49230F #0F4923
tetradic
#230F49 #490F18 #35490F #0F4940
square
#230F49 #490F18 #35490F #0F4940
split-complementary
#230F49 #49400F #18490F
monochromatic
#0C0519 #0C0519 #230F49 #3B197C #5424AF

Accessibility & contrast

On white

16.99
#230F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F49
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F49#FFFFFF#000000##FFFFFF
##230F491.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#171E2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230f49;
/* rgb */ color: rgb(35, 15, 73);
/* oklch */ color: oklch(23.9% 0.101 293.0);
Tailwind
colors: {
  custom: {
    50: '#634f7c',
    500: '#230f49',
    950: '#000000',
  },
}
SCSS
$custom: #230f49;
$custom-light: #634f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230f49",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 260.69,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23906,
    "c": 0.1006,
    "h": 293
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#230F49
secondary
#678330
accent
#E93FAE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #230F49

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

Preview Lab → · Contrast checker → · Palette generator →

#230F49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva