#230F47#230F47

#230F47 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.098 H 294.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#230F47
RGBrgb(35, 15, 71)
HSLhsl(261, 65%, 17%)
HSVhsv(261, 79%, 28%)
CMYKcmyk(50.7%, 78.9%, 0%, 72.2%)
CIE-LABlab(10.21, 25.08, -31.24)
CIE-LCHlch(10.21, 40.06, 308.76°)
OKLaboklab(23.71% 0.0397 -0.0895)
OKLCHoklch(23.71% 0.098 294)
XYZxyz(2.0010, 1.1538, 6.0773)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F47 #33470F
analogous
#0F1747 #230F47 #3F0F47
triadic
#230F47 #47230F #0F4723
tetradic
#230F47 #470F17 #33470F #0F473F
square
#230F47 #470F17 #33470F #0F473F
split-complementary
#230F47 #473F0F #17470F
monochromatic
#0C0519 #0C0519 #230F47 #3C1A7A #5524AC

Accessibility & contrast

On white

17.06
#230F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F47
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F47#FFFFFF#000000##FFFFFF
##230F471.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#191D29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230f47;
/* rgb */ color: rgb(35, 15, 71);
/* oklch */ color: oklch(23.7% 0.098 294.0);
Tailwind
colors: {
  custom: {
    50: '#624f7b',
    500: '#230f47',
    950: '#000000',
  },
}
SCSS
$custom: #230f47;
$custom-light: #624f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#230f47",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 261.429,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23706,
    "c": 0.09789,
    "h": 294
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#230F47
secondary
#648130
accent
#E840AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #230F47

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

Preview Lab → · Contrast checker → · Palette generator →

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