#230F55#230F55

#230F55 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.117 H 287.9°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#230F55
RGBrgb(35, 15, 85)
HSLhsl(257, 70%, 20%)
HSVhsv(257, 82%, 33%)
CMYKcmyk(58.8%, 82.4%, 0%, 66.7%)
CIE-LABlab(11.65, 29.57, -38.54)
CIE-LCHlch(11.65, 48.57, 307.50°)
OKLaboklab(25.17% 0.0359 -0.1109)
OKLCHoklch(25.17% 0.117 287.9)
XYZxyz(2.5032, 1.3547, 8.7222)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F55 #41550F
analogous
#0F1E55 #230F55 #460F55
triadic
#230F55 #55230F #0F5523
tetradic
#230F55 #550F1E #41550F #0F5546
square
#230F55 #550F1E #41550F #0F5546
split-complementary
#230F55 #55460F #1E550F
monochromatic
#0B051A #0E0621 #230F55 #381889 #4E21BD

Accessibility & contrast

On white

16.52
#230F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#230F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F55
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F55#FFFFFF#000000##FFFFFF
##230F551.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#0E2331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #230f55;
/* rgb */ color: rgb(35, 15, 85);
/* oklch */ color: oklch(25.2% 0.117 287.9);
Tailwind
colors: {
  custom: {
    50: '#655086',
    500: '#230f55',
    950: '#000000',
  },
}
SCSS
$custom: #230f55;
$custom-light: #655086;
$custom-dark: #000000;
JSON
{
  "hex": "#230f55",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 257.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25165,
    "c": 0.11653,
    "h": 287.9
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#230F55
secondary
#748F31
accent
#ED3BBA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230F55

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

Preview Lab → · Contrast checker → · Palette generator →

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